issue30, fixed wickled lines when images have different lines
[phpfspot.git] / phpfspot.class.php
index 25d144c2dcbe255b0cd7270b1090b13946d1c8a2..2df02508df014e28fee09c55c70d92c8d29678f4 100644 (file)
@@ -361,6 +361,8 @@ class PHPFSPOT {
          $this->tmpl->assign('next_img', $next_img);
       }
       $this->tmpl->assign('mini_width', $this->cfg->mini_width);
+      $this->tmpl->assign('photo_number', $i);
+      $this->tmpl->assign('photo_count', count($all_photos));
 
       $this->tmpl->show("single_photo.tpl");