Changeset 16277


Ignore:
Timestamp:
Jul 2, 2012, 2:59:12 PM (12 years ago)
Author:
plg
Message:

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
  • branches/2.4/admin/batch_manager_unit.php

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