only show preview icon in photo index when use_lightbox is set in the config
[phpfspot.git] / themes / default / templates / photo_index.tpl
index d83456803e30aa560b29ec397c2c23f975477e09..1a1a18856ecb64129add77f4fcc5f52f5835373f 100644 (file)
@@ -54,7 +54,9 @@
      <br />
     {$img_name[thumb]}
     </a>
+    { if $use_lightbox }
     <a href="phpfspot_img.php?idx={$images[thumb]}&amp;width={$preview_width}" alt="thumb_{$images[thumb]}" rel="lightbox[photoidx]" title="Preview of {$img_fullname[thumb]}"><img src="resources/eyes.png" /></a>
+    { /if }
    </div>
 
   {/if}