aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2011-10-14 10:43:48 +0000
committerpatdenice <patdenice@piwigo.org>2011-10-14 10:43:48 +0000
commit4bbb04fa60ee98c638bd6614ae6c0e86ecd930ac (patch)
treea58427fa5f5d4532b6766bcee387758f34a40ea2 /admin/include
parent8927a523297766fc9f414a538be570fad2d1a35d (diff)
Bug:2472
Thumbnails are not cropped during upload git-svn-id: http://piwigo.org/svn/trunk@12443 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/include')
-rw-r--r--admin/include/functions_upload.inc.php4
1 files changed, 3 insertions, 1 deletions
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();