From cac417c74bc6d5f528b356190561d244e9b4f93a Mon Sep 17 00:00:00 2001 From: plegall Date: Thu, 12 Jan 2012 21:37:28 +0000 Subject: 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 --- admin/include/uploadify/uploadify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin/include/uploadify/uploadify.php') 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, -- cgit v1.2.3