summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/photo_index.tpl22
1 files changed, 21 insertions, 1 deletions
diff --git a/templates/photo_index.tpl b/templates/photo_index.tpl
index 89d348e..36d0955 100644
--- a/templates/photo_index.tpl
+++ b/templates/photo_index.tpl
@@ -33,7 +33,7 @@
<div id="outter">
<div id="inner">
<a href="javascript:showImage({$images[row][col]});" id="{$images[row][col]}" class="bubble">
- <img class="thumb" id="{$images[row][col]}" src="phpfspot_img.php?idx={$images[row][col]}&amp;width={$width}" alt="thumb_{$images[row][col]}" />
+ <img class="thumb" id="{$images[row][col]}" src="phpfspot_img.php?idx={$images[row][col]}&amp;width={$width}" alt="thumb_{$images[row][col]}" width="{$img_width[row][col]}" height="{$img_height[row][col]}" />
</a>
</div>
</div>
@@ -48,6 +48,26 @@
</div>
</td>
</tr>
+ <tr>
+ <td style="text-align: left; width: 33%;">
+ { if $previous_url == "" }
+ &nbsp;
+ { else }
+ <a href="{$previous_url}">
+ <img src="resources/arrow_left.png" alt="previous photo" />
+ </a>
+ { /if }
+ </td>
+ <td style="text-align: right; width: 33%;">
+ { if $next_url == "" }
+ &nbsp;
+ { else }
+ <a href="{$next_url}">
+ <img src="resources/arrow_right.png" alt="next photo" />
+ </a>
+ { /if}
+ </td>
+ </tr>
</table>
<script type="text/javascript">
<!--