Hello,
When in ACP I try to crop thumbnails and our photo is big the photo is out of box in browser. That not exists when I choose from options different values than 'Size of photo' and 'Width' or 'Height'.
This two options get dimensions from photo, if photo have 3000x2500px then site look's not good. Is there any fix for this?
Hi,
If still not understand the problem I send You a fix, I think You understand what is that fix mean:
In zp-core/admin-thumbcrop.php
Find:
`
jQuery(window).load(function(){
jQuery('#cropbox').Jcrop({
onChange: showPreview,
onSelect: showPreview,
onChange: showCoords,
setSelect: [ , , , ],
bgOpacity: .4,
bgColor: 'black',
aspectRatio: / ,
boxWidth: boxWidth, /* Fix to corrent width of page in other resolutions */
trueSize: [,]
});
});
`
Move under div ID - 'content'
Next, before:
jQuery(window).load(function(){
Add:
var boxWidth = Math.round($('#content').width() - ( + 96));
In same function add at the end of function:
boxWidth: boxWidth, / Fix to corrent width of page in other resolutions /
trueSize: [,]
And check resolution for very big photos - page did not out of browser box :-) I think You understand what I'am done.