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:
rvelices
2011-12-27 05:26:44 +00:00
parent e77e68b7db
commit 753f58d6a9
27 changed files with 1113 additions and 208 deletions
+2 -2
View File
@@ -711,7 +711,7 @@ if (count($page['cat_elements_id']) > 0)
$query = '
SELECT id,path,tn_ext,file,filesize,level,name
SELECT id,path,representative_ext,file,filesize,level,name
FROM '.IMAGES_TABLE;
if ($is_category)
@@ -747,7 +747,7 @@ SELECT id,path,tn_ext,file,filesize,level,name
while ($row = pwg_db_fetch_assoc($result))
{
$nb_thumbs_page++;
$src = get_thumbnail_url($row);
$src = DerivativeImage::thumb_url($row);
$title = $row['name'];
if (empty($title))