diff options
Diffstat (limited to 'pages')
-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"); } |