aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2004-11-09 21:59:19 +0000
committerplegall <plg@piwigo.org>2004-11-09 21:59:19 +0000
commit4e55cfe4ca68e3100923c36fe84b8603c9bde618 (patch)
tree4da28ddaf2419929cf52181fc8f6739779daa882
parent765bfa10b11c04168624a08e1b0e31e067c1f76a (diff)
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
-rw-r--r--picture.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/picture.php b/picture.php
index 3669ceed3..4335f2a23 100644
--- a/picture.php
+++ b/picture.php
@@ -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> ]';
}