mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
feature 2541 multisize
- core implementation + usage on most public/admin pages - still to do: sync process, upload, gui/persistence for size parameters, migration script, center of interest ... git-svn-id: http://piwigo.org/svn/trunk@12796 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -201,7 +201,7 @@ if (count($page['cat_elements_id']) > 0)
|
||||
|
||||
|
||||
$query = '
|
||||
SELECT id,path,tn_ext,name,date_creation,comment,author,level,file
|
||||
SELECT id,path,representative_ext,name,date_creation,comment,author,level,file
|
||||
FROM '.IMAGES_TABLE;
|
||||
|
||||
if ($is_category)
|
||||
@@ -237,7 +237,7 @@ SELECT id,path,tn_ext,name,date_creation,comment,author,level,file
|
||||
{
|
||||
array_push($element_ids, $row['id']);
|
||||
|
||||
$src = get_thumbnail_url($row);
|
||||
$src = DerivativeImage::thumb_url($row);
|
||||
|
||||
// creation date
|
||||
if (!empty($row['date_creation']))
|
||||
|
||||
Reference in New Issue
Block a user