aboutsummaryrefslogtreecommitdiffstats
path: root/picture.php
diff options
context:
space:
mode:
Diffstat (limited to 'picture.php')
-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']))