aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/resize.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/resize.php b/lib/resize.php
index 19af7b451..e3facf614 100644
--- a/lib/resize.php
+++ b/lib/resize.php
@@ -246,7 +246,7 @@
$thumbname,
$image_sizes['large_image_width'],
$image_sizes['large_image_height'],
- true);
+ false);
if (!$rtn_code)
return false;
$file->largethumb = $prefix."largethumb".$filestorename;
@@ -311,8 +311,8 @@
$width = $height;
}
- // if input arguments = square, no need to use above calculations (which can have round-off errors)
if ($maxheight == $maxwidth) {
+ // if input arguments = square, no need to use above calculations (which can have round-off errors)
$newwidth = $maxwidth;
$newheight = $maxheight;
} else {