diff options
author | chrisaga <chrisaga@piwigo.org> | 2005-12-19 18:58:38 +0000 |
---|---|---|
committer | chrisaga <chrisaga@piwigo.org> | 2005-12-19 18:58:38 +0000 |
commit | ed42cf8371e6a17667b521aa92826a0077fb6589 (patch) | |
tree | 8a9f11f59a07b067365bee05d0632f9a507d1f40 /picture.php | |
parent | 81476cb59354c7eaed278af1bfe479fc2cd5b717 (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.php | 10 |
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'])) |