aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes
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
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 'admin/themes')
-rw-r--r--admin/themes/default/js/batchManagerGlobal.js2
-rw-r--r--admin/themes/default/template/batch_manager_unit.tpl4
-rw-r--r--admin/themes/default/template/picture_modify.tpl4
3 files changed, 7 insertions, 3 deletions
diff --git a/admin/themes/default/js/batchManagerGlobal.js b/admin/themes/default/js/batchManagerGlobal.js
index 8ebf7295d..e3d4a3455 100644
--- a/admin/themes/default/js/batchManagerGlobal.js
+++ b/admin/themes/default/js/batchManagerGlobal.js
@@ -95,7 +95,7 @@ jQuery(document).ready(function() {
$('ul.thumbnails').enableShiftClick();
});
-jQuery("a.preview-box").colorbox();
+jQuery("a.preview-box").colorbox( {photo: true} );
jQuery('.thumbnails img').tipTip({
'delay' : 0,
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}