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
This commit is contained in:
plegall
2012-01-12 21:37:28 +00:00
parent 6a115001ba
commit cac417c74b
44 changed files with 204 additions and 832 deletions
@@ -202,12 +202,7 @@ SELECT
$thumbnail['file'] = $image_infos['file'];
$thumbnail['src'] = get_thumbnail_location(
array(
'path' => $image_infos['path'],
'tn_ext' => $image_infos['tn_ext'],
)
);
$thumbnail['src'] = DerivativeImage::thumb_url($image_infos);
// TODO: when implementing this plugin in Piwigo core, we should have
// a function get_image_name($name, $file) (if name is null, then