Changeset 12796 for trunk/admin/rating_user.php
- Timestamp:
- Dec 27, 2011, 6:26:44 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/rating_user.php
r12650 r12796 102 102 if (count($image_ids) > 0 ) 103 103 { 104 $query = 'SELECT id, name, file, path, tn_ext104 $query = 'SELECT id, name, file, path, representative_ext 105 105 FROM '.IMAGES_TABLE.' 106 106 WHERE id IN ('.implode(',', array_keys($image_ids)).')'; … … 109 109 { 110 110 $image_urls[ $row['id'] ] = array( 111 'tn' => get_thumbnail_url($row),111 'tn' => DerivativeImage::thumb_url($row), 112 112 'page' => make_picture_url( array('image_id'=>$row['id'], 'image_file'=>$row['file']) ), 113 113 ); … … 218 218 'ratings' => $by_user_ratings, 219 219 'image_urls' => $image_urls, 220 'TN_WIDTH' => 2 0+2*$conf['upload_form_thumb_maxwidth'],220 'TN_WIDTH' => 28+2*ImageStdParams::get_by_type(IMG_THUMB)->sizing->ideal_size[0], 221 221 ) ); 222 222 $template->set_filename('rating', 'rating_user.tpl');
Note: See TracChangeset
for help on using the changeset viewer.