summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/photo_index.tpl21
1 files changed, 20 insertions, 1 deletions
diff --git a/templates/photo_index.tpl b/templates/photo_index.tpl
index f917364..7f3af46 100644
--- a/templates/photo_index.tpl
+++ b/templates/photo_index.tpl
@@ -1 +1,20 @@
-{$image_matrix}
+<!-- Image Matrix -->
+<table>
+ <tr>
+ <td colspan="{$columns}">
+ {$count} images have been found for the selected tags
+ </td>
+ </tr>
+{section name="row" loop=$rows step=1}
+ <tr>
+ {section name="col" loop=$columns step=1}
+ <td>
+ <a href="javascript:showImage({$images[row][col]});">
+ <img src="phpfspot_img.php?idx={$images[row][col]}&amp;width={$width}" />
+ </a>
+ </td>
+ {/section}
+ </tr>
+{/section}
+</table>
+<!-- /Image Matrix -->