diff options
Diffstat (limited to 'actions/upload.php')
-rw-r--r-- | actions/upload.php | 4 |
1 files changed, 2 insertions, 2 deletions
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);
|