diff options
author | rvelices <rv-github@modusoptimus.com> | 2014-11-03 20:50:50 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2014-11-03 20:50:50 +0000 |
commit | a8f4ebc06e24c854e918a397e7031a8f750bd331 (patch) | |
tree | 4f1cc929e330e353486e71fdc038d61fd1e142e8 /admin/themes/default/template | |
parent | dca7f6cfa75ba4e760ed30ab7e673dd989c9596c (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 'admin/themes/default/template')
-rw-r--r-- | admin/themes/default/template/batch_manager_unit.tpl | 4 | ||||
-rw-r--r-- | admin/themes/default/template/picture_modify.tpl | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/admin/themes/default/template/batch_manager_unit.tpl b/admin/themes/default/template/batch_manager_unit.tpl index d4e560aa7..085a9bd63 100644 --- a/admin/themes/default/template/batch_manager_unit.tpl +++ b/admin/themes/default/template/batch_manager_unit.tpl @@ -29,7 +29,9 @@ jQuery(function(){ {* <!-- onLoad needed to wait localization loads --> *} }); {* <!-- THUMBNAILS --> *} -jQuery("a.preview-box").colorbox(); +jQuery("a.preview-box").colorbox( { + photo: true +}); }()); {/footer_script} 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} |