From 175bcd1e19e8094a0096dbe678e5f7748b664a89 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 11 Dec 2011 21:13:20 -0500 Subject: added lightbox to single images --- pages/photos/image/thumbnail.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'pages/photos/image') 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"); } -- cgit v1.2.3