display photos in photo-index also if no JavaScript is enabled
authorAndreas Unterkircher <unki@netshadow.at>
Tue, 13 May 2008 04:11:00 +0000 (06:11 +0200)
committerAndreas Unterkircher <unki@netshadow.at>
Tue, 13 May 2008 04:11:00 +0000 (06:11 +0200)
Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
themes/default/templates/photo_index.tpl

index 333d80e..b14afe4 100644 (file)
@@ -70,7 +70,7 @@
 
    <div class="thumb" onmouseover="setBackGrdColor(this, 'mouseover');" onmouseout="setBackGrdColor(this, 'mouseout');" style="width: { $thumb_container_width }px; height: { $thumb_container_height }px;">
     <a href="javascript:showImage({$images[thumb]}, 'scrollup');" id="thumblink{$images[thumb]}" name="image{$img_id[thumb]}" class="thumblink" onclick="click(this);" title="{$img_title[thumb]}">
-     <img class="thumb" id="thumbimg{$images[thumb]}" width="{$img_width[thumb]}" height="{$img_height[thumb]}" />
+     <img class="thumb" id="thumbimg{$images[thumb]}" width="{$img_width[thumb]}" height="{$img_height[thumb]}" src="{$web_path}/phpfspot_img.php?idx={$images[thumb]}&width={$width}" />
      <br />
     {$img_name[thumb]}
     </a>