diff options
author | Andreas Unterkircher <unki@netshadow.at> | 2007-06-23 08:40:48 +0000 |
---|---|---|
committer | Andreas Unterkircher <unki@netshadow.at> | 2007-06-23 08:40:48 +0000 |
commit | dc815d80d15437e0e6a56bfcfbff81b241cdd727 (patch) | |
tree | 6f1b570a0cf29284a859ea584db13d7a50055058 /templates | |
parent | 39c86688aa230ba5010a821580e891b20c4e1a32 (diff) |
issue6, first implementation of paged photo index view
use thumbnail width & height for <img> to avoid "flipping" when images are getting loaded
fixed issue when all selected tags are clicked away but photo index still stays, there are no matching photos
git-svn-id: file:///var/lib/svn/phpfspot/trunk@124 fa6a889d-dae6-447d-9e79-4ba9a3039384
Diffstat (limited to 'templates')
-rw-r--r-- | templates/photo_index.tpl | 22 |
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]}&width={$width}" alt="thumb_{$images[row][col]}" /> + <img class="thumb" id="{$images[row][col]}" src="phpfspot_img.php?idx={$images[row][col]}&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 == "" } + + { 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 == "" } + + { else } + <a href="{$next_url}"> + <img src="resources/arrow_right.png" alt="next photo" /> + </a> + { /if} + </td> + </tr> </table> <script type="text/javascript"> <!-- |