diff options
author | Sean Corbett <sean@gnu.org> | 2010-09-04 17:17:52 -0400 |
---|---|---|
committer | Sean Corbett <sean@gnu.org> | 2010-09-04 17:35:37 -0400 |
commit | 7e8ff72c0b9c2cd1c73537edc886e6b6208a50fb (patch) | |
tree | 36c7f123442107ac4baa7559eb356bf9fef1fb19 /plugins/GNUsocialPhotos/actions/photoupload.php | |
parent | 3da5dccce6cd35e58f8ee71251578c23f6839acb (diff) |
Quick function to get an array of thumbnails for a gallery page.
Diffstat (limited to 'plugins/GNUsocialPhotos/actions/photoupload.php')
-rw-r--r-- | plugins/GNUsocialPhotos/actions/photoupload.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/GNUsocialPhotos/actions/photoupload.php b/plugins/GNUsocialPhotos/actions/photoupload.php index 216f1768f..84caf4747 100644 --- a/plugins/GNUsocialPhotos/actions/photoupload.php +++ b/plugins/GNUsocialPhotos/actions/photoupload.php @@ -137,7 +137,8 @@ class PhotouploadAction extends Action $uri = 'http://' . common_config('site', 'server') . '/file/' . $filename; $thumb_uri = 'http://' . common_config('site', 'server') . '/file/thumb.' . $filename; $profile_id = $cur->id; - GNUsocialPhoto::saveNew($profile_id, $thumb_uri, $uri, 'web'); + //scorbett: the second arg below should be set to the album ID + GNUsocialPhoto::saveNew($profile_id, 0, $thumb_uri, $uri, 'web'); } } |