mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-01 20:04:51 +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:
@@ -189,7 +189,7 @@ SELECT *
|
||||
{
|
||||
if ($row['level'] <= $user['level'])
|
||||
{
|
||||
$row['tn_src'] = get_thumbnail_url($row);
|
||||
$row['tn_src'] = DerivativeImage::thumb_url($row);
|
||||
$infos_of_image[$row['id']] = $row;
|
||||
}
|
||||
else
|
||||
@@ -236,7 +236,7 @@ SELECT *
|
||||
$result = pwg_query($query);
|
||||
while ($row = pwg_db_fetch_assoc($result))
|
||||
{
|
||||
$row['tn_src'] = get_thumbnail_url($row);
|
||||
$row['tn_src'] = DerivativeImage::thumb_url($row);
|
||||
$infos_of_image[$row['id']] = $row;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user