Changeset 12796 for trunk/admin/cat_modify.php
- Timestamp:
- Dec 27, 2011, 6:26:44 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/cat_modify.php
r12591 r12796 302 302 { 303 303 $query = ' 304 SELECT id, tn_ext,path304 SELECT id,representative_ext,path 305 305 FROM '.IMAGES_TABLE.' 306 306 WHERE id = '.$category['representative_picture_id'].' 307 307 ;'; 308 308 $row = pwg_db_fetch_assoc(pwg_query($query)); 309 $src = get_thumbnail_url($row);309 $src = DerivativeImage::thumb_url($row); 310 310 $url = get_root_url().'admin.php?page=picture_modify'; 311 311 $url.= '&image_id='.$category['representative_picture_id']; … … 388 388 { 389 389 $query = ' 390 SELECT id, file, path, tn_ext390 SELECT id, file, path, representative_ext 391 391 FROM '.IMAGES_TABLE.' 392 392 WHERE id = '.$category['representative_picture_id'].' … … 404 404 'category' => $category 405 405 )) 406 .'" class="thumblnk"><img src="'. get_thumbnail_url($element).'"></a>';406 .'" class="thumblnk"><img src="'.DerivativeImage::thumb_url($element).'"></a>'; 407 407 } 408 408 }
Note: See TracChangeset
for help on using the changeset viewer.