Changeset 16280


Ignore:
Timestamp:
07/02/12 15:14:25 (7 years ago)
Author:
plg
Message:

merge r16277 from branch 2.4 to trunk

bug 2673 fixed: Batch Manager, single mode, a click on the thumbnail opens the L size and not the original.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/batch_manager_unit.php

    r13457 r16280  
    238238    array_push($element_ids, $row['id']); 
    239239 
    240     $src = DerivativeImage::thumb_url($row); 
     240    $src_image = new SrcImage($row); 
    241241 
    242242    // creation date 
     
    270270      array( 
    271271        'ID' => $row['id'], 
    272         'TN_SRC' => $src, 
    273         'FILE_SRC' => $row['path'], 
     272        'TN_SRC' => DerivativeImage::url(IMG_THUMB, $src_image), 
     273        'FILE_SRC' => DerivativeImage::url(IMG_LARGE, $src_image), 
    274274        'LEGEND' => $legend, 
    275275        'U_EDIT' => get_root_url().'admin.php?page=photo-'.$row['id'], 
Note: See TracChangeset for help on using the changeset viewer.