From 39f644c75a545249a2cdaa490b5beb58795529a3 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sun, 7 Jun 2009 00:09:09 +0000 Subject: fixed bug in IM php resize code --- lib/resize.php | 4 ++-- 1 file 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 { -- cgit v1.2.3