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/branches/2.4@16277 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2012-07-02 12:59:12 +00:00
parent 06a66c406e
commit a07dd0bea0
+3 -3
View File
@@ -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']:'',