aboutsummaryrefslogtreecommitdiffstats
path: root/admin/rating.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2011-12-27 05:26:44 +0000
committerrvelices <rv-github@modusoptimus.com>2011-12-27 05:26:44 +0000
commit753f58d6a966a1051dcd62a3eeab8fc18798bcac (patch)
tree2ebbfec86d511aa980e0d23c170bfa5006a8793e /admin/rating.php
parente77e68b7db17c28c1ca44f4865758f2afb871d07 (diff)
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
Diffstat (limited to 'admin/rating.php')
-rw-r--r--admin/rating.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/rating.php b/admin/rating.php
index 70dc10fc3..559d48523 100644
--- a/admin/rating.php
+++ b/admin/rating.php
@@ -184,7 +184,7 @@ SELECT i.id,
GROUP BY i.id,
i.path,
i.file,
- i.tn_ext,
+ i.representative_ext,
i.rating_score,
r.element_id
ORDER BY ' . $available_order_by[$order_by_index][1] .'
@@ -201,7 +201,7 @@ while ($row = pwg_db_fetch_assoc($result))
$template->assign( 'images', array() );
foreach ($images as $image)
{
- $thumbnail_src = get_thumbnail_url($image);
+ $thumbnail_src = DerivativeImage::thumb_url($image);
$image_url = PHPWG_ROOT_PATH.'admin.php?page=picture_modify'.
'&amp;image_id='.$image['id'];