Show
Ignore:
Timestamp:
12/27/11 06:26:44 (17 months ago)
Author:
rvelices
Message:

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 ...

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_notification.inc.php

    r8728 r12796  
    459459    { // get some thumbnails ... 
    460460      $query = ' 
    461 SELECT DISTINCT id, path, name, tn_ext, file 
     461SELECT DISTINCT id, path, name, representative_ext, file 
    462462  FROM '.IMAGES_TABLE.' i INNER JOIN '.IMAGE_CATEGORY_TABLE.' AS ic ON id=image_id 
    463463  '.$where_sql.' 
     
    536536  foreach($date_detail['elements'] as $element) 
    537537  { 
    538     $tn_src = get_thumbnail_url($element); 
     538    $tn_src = DerivativeImage::thumb_url($element); 
    539539    $description .= '<a href="'. 
    540540                    make_picture_url(array(