aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default/template/picture_modify.tpl
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2014-11-03 20:50:50 +0000
committerrvelices <rv-github@modusoptimus.com>2014-11-03 20:50:50 +0000
commita8f4ebc06e24c854e918a397e7031a8f750bd331 (patch)
tree4f1cc929e330e353486e71fdc038d61fd1e142e8 /admin/themes/default/template/picture_modify.tpl
parentdca7f6cfa75ba4e760ed30ab7e673dd989c9596c (diff)
bug 3149: admin image preview (colorbox) does not work for small originals
git-svn-id: http://piwigo.org/svn/trunk@30358 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/themes/default/template/picture_modify.tpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/admin/themes/default/template/picture_modify.tpl b/admin/themes/default/template/picture_modify.tpl
index 76b5e14dc..aeba2dd6f 100644
--- a/admin/themes/default/template/picture_modify.tpl
+++ b/admin/themes/default/template/picture_modify.tpl
@@ -38,7 +38,9 @@ jQuery(function(){ {* <!-- onLoad needed to wait localization loads --> *}
});
{* <!-- THUMBNAILS --> *}
-jQuery("a.preview-box").colorbox();
+jQuery("a.preview-box").colorbox({
+ photo: true
+});
}());
{/footer_script}