diff --git a/action.php b/action.php
new file mode 100644
index 000000000..7dc351d58
--- /dev/null
+++ b/action.php
@@ -0,0 +1,73 @@
+
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']))
diff --git a/template/yoga/picture.tpl b/template/yoga/picture.tpl
index 6932eb1f6..d28632ca0 100644
--- a/template/yoga/picture.tpl
+++ b/template/yoga/picture.tpl
@@ -20,7 +20,7 @@
-
+
@@ -47,7 +47,7 @@