aboutsummaryrefslogtreecommitdiffstats
path: root/admin/batch_manager_unit.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2012-07-02 13:14:25 +0000
committerplegall <plg@piwigo.org>2012-07-02 13:14:25 +0000
commit1316c2d15118460e10de2f7f7fb24fa162efee1b (patch)
tree14b6bb42baadc4c4c89c5fd8c60cc495d43063eb /admin/batch_manager_unit.php
parentba6dfe6a341600ab34c7db8abca7bc985b3d25ad (diff)
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. git-svn-id: http://piwigo.org/svn/trunk@16280 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/batch_manager_unit.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/batch_manager_unit.php b/admin/batch_manager_unit.php
index 11d0d6903..caeb437d2 100644
--- a/admin/batch_manager_unit.php
+++ b/admin/batch_manager_unit.php
@@ -237,7 +237,7 @@ SELECT id,path,representative_ext,name,date_creation,comment,author,level,file
{
array_push($element_ids, $row['id']);
- $src = DerivativeImage::thumb_url($row);
+ $src_image = new SrcImage($row);
// creation date
if (!empty($row['date_creation']))
@@ -269,8 +269,8 @@ SELECT
'elements',
array(
'ID' => $row['id'],
- 'TN_SRC' => $src,
- 'FILE_SRC' => $row['path'],
+ 'TN_SRC' => DerivativeImage::url(IMG_THUMB, $src_image),
+ 'FILE_SRC' => DerivativeImage::url(IMG_LARGE, $src_image),
'LEGEND' => $legend,
'U_EDIT' => get_root_url().'admin.php?page=photo-'.$row['id'],
'NAME' => !empty($row['name'])?$row['name']:'',