summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/photo_index.tpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/photo_index.tpl b/templates/photo_index.tpl
index 7f3af46..97c9fb8 100644
--- a/templates/photo_index.tpl
+++ b/templates/photo_index.tpl
@@ -9,9 +9,11 @@
<tr>
{section name="col" loop=$columns step=1}
<td>
+ {if $images[row][col] }
<a href="javascript:showImage({$images[row][col]});">
<img src="phpfspot_img.php?idx={$images[row][col]}&amp;width={$width}" />
</a>
+ {/if}
</td>
{/section}
</tr>