From 24139680218c3937be327b9bddbe899410724e13 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Thu, 15 Oct 2015 11:20:56 +0200 Subject: double up default photo sizes - even the mos simple camera can now do images > 1024px --- view/js/main.js | 5 +++-- view/tpl/cropbody.tpl | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'view') diff --git a/view/js/main.js b/view/js/main.js index 0c26e3d57..c7a85eea4 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -745,13 +745,14 @@ function justifyPhotos() { selector: '> a, > div:not(.spinner, #page-end)', margins: 3, border: 0, + rowHeight: 180, sizeRangeSuffixes: { 'lt100': '-2', 'lt240': '-2', 'lt320': '-2', 'lt500': '', - 'lt640': '-1', - 'lt1024': '-0' + 'lt640': '-2', + 'lt1024': '-1' } }).on('jg.complete', function(e){ justifiedGalleryActive = false; }); } diff --git a/view/tpl/cropbody.tpl b/view/tpl/cropbody.tpl index 4794c0b83..01d9a24a0 100755 --- a/view/tpl/cropbody.tpl +++ b/view/tpl/cropbody.tpl @@ -27,8 +27,8 @@ previewWrap: 'previewWrap', minWidth: 300, minHeight: 300, - maxWidth: 640, - maxHeight: 640, + maxWidth: 1024, + maxHeight: 1024, ratioDim: { x: 100, y:100 }, displayOnInit: true, onEndCrop: onEndCrop -- cgit v1.2.3