- Timestamp:
- Jul 13, 2012, 3:26:50 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/PWG_Stuffs/trunk/modules/LastComs/main.inc.php
r12524 r16691 161 161 $elements = array(); 162 162 $query = ' 163 SELECT id, name, file, path, tn_ext163 SELECT * 164 164 FROM '.IMAGES_TABLE.' 165 165 WHERE id IN ('.implode(',', $element_ids).') … … 203 203 204 204 // source of the thumbnail picture 205 $ thumbnail_src = get_thumbnail_url( $elements[$comment['image_id']]);205 $src_image = new SrcImage($elements[$comment['image_id']]); 206 206 207 207 // link to the full size picture … … 217 217 'ID' => $comment['comment_id'], 218 218 'U_PICTURE' => $url, 219 ' TN_SRC' => $thumbnail_src,219 'src_image' => $src_image, 220 220 'ALT' => $name, 221 221 'AUTHOR' => trigger_event('render_comment_author', $comment['author']), … … 282 282 array_push($block['comments'], $tpl_comment); 283 283 } 284 $block['derivative_params'] = ImageStdParams::get_by_type(IMG_THUMB); 284 285 } 285 286
Note: See TracChangeset
for help on using the changeset viewer.