aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/uploadify/uploadify.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2012-01-12 21:37:28 +0000
committerplegall <plg@piwigo.org>2012-01-12 21:37:28 +0000
commitcac417c74bc6d5f528b356190561d244e9b4f93a (patch)
tree98d7f341215bfec3e75de2dde0a2a2167d54b30c /admin/include/uploadify/uploadify.php
parent6a115001ba122c2084e28353e025f7c8c5f62335 (diff)
feature 2548, multiple size:
* adapt the upload script * remove the resize settings screen * add a new screen [Administration > Configuration > Options > Photo Sizes] with the ability to resize original after upload git-svn-id: http://piwigo.org/svn/trunk@12879 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/include/uploadify/uploadify.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/include/uploadify/uploadify.php b/admin/include/uploadify/uploadify.php
index d70e44635..cc30cf9e7 100644
--- a/admin/include/uploadify/uploadify.php
+++ b/admin/include/uploadify/uploadify.php
@@ -72,7 +72,7 @@ SELECT
;';
$image_infos = pwg_db_fetch_assoc(pwg_query($query));
-$thumbnail_url = preg_replace('#^'.PHPWG_ROOT_PATH.'#', './', get_thumbnail_url($image_infos));
+$thumbnail_url = preg_replace('#^'.PHPWG_ROOT_PATH.'#', './', DerivativeImage::thumb_url($image_infos));
$return = array(
'image_id' => $image_id,