when picture size exceeds user maximum display size, the link was on the

same page : now it shows the file in the browser


git-svn-id: http://piwigo.org/svn/trunk@598 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2004-11-09 21:59:19 +00:00
parent 765bfa10b1
commit 4e55cfe4ca

View File

@@ -638,7 +638,7 @@ if ($picture['current']['is_picture'])
if ($original_width != $picture_size[0]
or $original_height != $picture_size[1])
{
$content = '[ <a href="'.$picture['current']['url'].'" ';
$content = '[ <a href="'.$picture['current']['src'].'" ';
$content.= ' title="'.$lang['true_size'].'">';
$content.= $original_width.'*'.$original_height.'</a> ]';
}