diff options
Diffstat (limited to 'phpfspot.class.php')
-rw-r--r-- | phpfspot.class.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/phpfspot.class.php b/phpfspot.class.php index 6a2edc3..628cfea 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -219,12 +219,15 @@ class PHPFSPOT { public function showPhotoIndex() { - foreach($this->getAllTagPhotos() as $photo) { - print "<img src=\"phpfspot_img.php?idx=". $photo ."&width=". $this->cfg->thumb_width ."\" /><br />\n"; + $images.= "<img src=\"phpfspot_img.php?idx=". $photo ."&width=". $this->cfg->thumb_width ."\" /><br />\n"; } + $this->tmpl->assign('image_matrix', $images); + $this->tmpl->show("photo_index.tpl"); + + } // showPhotoIndex() } |