diff options
author | cash <cash.costello@gmail.com> | 2011-12-11 21:13:20 -0500 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-12-11 21:13:20 -0500 |
commit | 175bcd1e19e8094a0096dbe678e5f7748b664a89 (patch) | |
tree | a951a9639b4e245b24a529768781fccd47aaa407 /pages/photos/image | |
parent | be3479085d475428a213868e13e8504e924e32ba (diff) | |
download | elgg-175bcd1e19e8094a0096dbe678e5f7748b664a89.tar.gz elgg-175bcd1e19e8094a0096dbe678e5f7748b664a89.tar.bz2 |
added lightbox to single images
Diffstat (limited to 'pages/photos/image')
-rw-r--r-- | pages/photos/image/thumbnail.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pages/photos/image/thumbnail.php b/pages/photos/image/thumbnail.php index ae07f2706..ed39c6169 100644 --- a/pages/photos/image/thumbnail.php +++ b/pages/photos/image/thumbnail.php @@ -13,7 +13,11 @@ if (!$image) { // @todo } -$contents = $image->getThumbnail($size); +if ($size == 'master') { + $contents = $image->getImage(); +} else { + $contents = $image->getThumbnail($size); +} if (!$contents) { forward("mod/tidypics/graphics/image_error_$size"); } |