summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--themes/default/templates/photo_index.tpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/themes/default/templates/photo_index.tpl b/themes/default/templates/photo_index.tpl
index d834568..1a1a188 100644
--- a/themes/default/templates/photo_index.tpl
+++ b/themes/default/templates/photo_index.tpl
@@ -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}