mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01: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:
@@ -408,7 +408,7 @@ if (count($comments) > 0)
|
||||
// retrieving element informations
|
||||
$elements = array();
|
||||
$query = '
|
||||
SELECT id, name, file, path, tn_ext
|
||||
SELECT id, name, file, path, representative_ext
|
||||
FROM '.IMAGES_TABLE.'
|
||||
WHERE id IN ('.implode(',', $element_ids).')
|
||||
;';
|
||||
@@ -450,7 +450,7 @@ SELECT c.id, name, permalink, uppercats, com.id as comment_id
|
||||
}
|
||||
|
||||
// source of the thumbnail picture
|
||||
$thumbnail_src = get_thumbnail_url( $elements[$comment['image_id']] );
|
||||
$thumbnail_src = DerivativeImage::thumb_url( $elements[$comment['image_id']] );
|
||||
|
||||
// link to the full size picture
|
||||
$url = make_picture_url(
|
||||
|
||||
Reference in New Issue
Block a user