diff options
author | rvelices <rv-github@modusoptimus.com> | 2012-01-26 21:15:16 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2012-01-26 21:15:16 +0000 |
commit | 4a73d939e03ea8d57719f52681dd919dc106ed5f (patch) | |
tree | 359d195741c5e2324adac9f06e8d729d02511576 /themes | |
parent | 4f216a5caceb53072c6062a7e7af2a19cc3bb341 (diff) |
feature 2548 multisize - small fixes
git-svn-id: http://piwigo.org/svn/trunk@12958 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | themes/default/template/picture_content.tpl | 2 | ||||
-rw-r--r-- | themes/default/template/thumbnails.tpl | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/themes/default/template/picture_content.tpl b/themes/default/template/picture_content.tpl index 6a87d3fab..085a90e5c 100644 --- a/themes/default/template/picture_content.tpl +++ b/themes/default/template/picture_content.tpl @@ -15,7 +15,7 @@ function changeImgSrc(url,typeSave,typeMap,typeDisplay) if (elt) elt.innerHTML = typeDisplay; theImg.useMap = "#map"+typeMap; } - document.cookie = 'picture_deriv=' + typeSave; + document.cookie = 'picture_deriv='+typeSave+';path={/literal}{$COOKIE_PATH}{literal}'; } function toggleDerivativeSwitchBox() diff --git a/themes/default/template/thumbnails.tpl b/themes/default/template/thumbnails.tpl index 28dc83a35..0f8e57acf 100644 --- a/themes/default/template/thumbnails.tpl +++ b/themes/default/template/thumbnails.tpl @@ -5,11 +5,11 @@ .thumbnails SPAN, .thumbnails .wrap2 A, .thumbnails LABEL{ldelim} - width: {$derivative_params->max_width()}px; + width: {$derivative_params->max_width()+2}px; } .thumbnails .wrap2{ldelim} - height: {$derivative_params->max_height()+2}px; + height: {$derivative_params->max_height()+3}px; } {if $derivative_params->max_width() > 600} .thumbLegend {ldelim}font-size: 130%} |