aboutsummaryrefslogtreecommitdiffstats
path: root/picture.php
diff options
context:
space:
mode:
authorchrisaga <chrisaga@piwigo.org>2005-12-19 18:58:38 +0000
committerchrisaga <chrisaga@piwigo.org>2005-12-19 18:58:38 +0000
commited42cf8371e6a17667b521aa92826a0077fb6589 (patch)
tree8a9f11f59a07b067365bee05d0632f9a507d1f40 /picture.php
parent81476cb59354c7eaed278af1bfe479fc2cd5b717 (diff)
- feature 232 : icon tool to download big image in pwg_high if exists
- cosmetic : adjust big image popup to avoid unwanted scrolbars no toolbar or status-bar in this popup git-svn-id: http://piwigo.org/svn/trunk@985 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--picture.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/picture.php b/picture.php
index 4cdafcf69..81e781ff0 100644
--- a/picture.php
+++ b/picture.php
@@ -560,9 +560,15 @@ if (isset($picture['current']['high']))
$template->assign_block_vars('high', array(
'U_HIGH' => $picture['current']['high'],
'UUID'=>$uuid,
- 'WIDTH_IMG'=>($full_width + 16),
- 'HEIGHT_IMG'=>($full_height + 16)
+ 'WIDTH_IMG'=>($full_width + 40),
+ 'HEIGHT_IMG'=>($full_height + 40)
));
+ $template->assign_block_vars(
+ 'download',
+ array('U_DOWNLOAD' => PHPWG_ROOT_PATH.'action.php?dwn='
+ .$picture['current']['high']
+ )
+ );
}
// button to set the current picture as representative
if ('admin' == $user['status'] and is_numeric($page['cat']))