From bf0f2b64465dfea23e742c406a4c5993ca55f89d Mon Sep 17 00:00:00 2001 From: patdenice Date: Fri, 14 Oct 2011 10:44:45 +0000 Subject: merge r12443 from trunk to branch 2.3 Bug:2472 Thumbnails are not cropped during upload git-svn-id: http://piwigo.org/svn/branches/2.3@12444 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/include/functions_upload.inc.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'admin/include') diff --git a/admin/include/functions_upload.inc.php b/admin/include/functions_upload.inc.php index d82ae3881..67bd8dd30 100644 --- a/admin/include/functions_upload.inc.php +++ b/admin/include/functions_upload.inc.php @@ -381,7 +381,9 @@ SELECT $conf['upload_form_thumb_maxheight'], $conf['upload_form_thumb_quality'], false, - true + true, + $conf['upload_form_thumb_crop'], + $conf['upload_form_thumb_follow_orientation'] ); $img->destroy(); -- cgit v1.2.3