mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-13 13:21:43 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user