diff options
Diffstat (limited to 'plugins/GNUsocialPhotos/actions/photos.php')
-rw-r--r-- | plugins/GNUsocialPhotos/actions/photos.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/GNUsocialPhotos/actions/photos.php b/plugins/GNUsocialPhotos/actions/photos.php index 29a70e458..bc54ae993 100644 --- a/plugins/GNUsocialPhotos/actions/photos.php +++ b/plugins/GNUsocialPhotos/actions/photos.php @@ -86,6 +86,11 @@ class PhotosAction extends Action $pathparts = explode('/', $args[1]['nickname']); $username = $pathparts[0]; $this->elementStart('ul', array('class' => 'photothumbs')); + + //scorbett + $photo_obj = new GNUsocialPhoto(); + $photo_obj->getGalleryPage(1, 0, 9); + while (false !== ($file = readdir($dir))) { $fparts = explode('-', $file); if ($fparts[0] == $username // uploaded by this user |