From a95c6c02347c847aa000d0d8e5db9b7bb3c5b3bd Mon Sep 17 00:00:00 2001 From: Greg Froese Date: Tue, 12 May 2009 18:07:59 +0000 Subject: made small thumbnail square again and put watermarking where it belongs --- actions/upload.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actions/upload.php') diff --git a/actions/upload.php b/actions/upload.php index 2f84a9f6b..de7c35324 100644 --- a/actions/upload.php +++ b/actions/upload.php @@ -130,12 +130,12 @@ $thumblarge = tp_resize($file->getFilenameOnFilestore(), "largethumb", 600, 600, false); } catch (Exception $e) { $thumblarge = false; } try { - $thumbsmall = tp_resize($file->getFilenameOnFilestore(), "smallthumb", 153, 153, false); + $thumbsmall = tp_resize($file->getFilenameOnFilestore(), "smallthumb", 153, 153, true); } catch (Exception $e) { $thumbsmall = false; } try { $thumbnail = tp_resize($file->getFilenameOnFilestore(), "thumb", 60, 60, true); } catch (Exception $e) { $thumbnail = false; } - + if ($thumbnail) { $thumb = new ElggFile(); $thumb->setMimeType($mime); -- cgit v1.2.3