2011-07-20, 08:53:00
Solved it. admin/image.php around line 93:
The style="max-width:585px;" should be removed, since Jcrop (the javascript right below it around line 121) already restricts its size. So when you crop it, Jcrop thinks the maximum picture width is 585px, instead of the actual picture width (mine was 1920px), because CSS is shrinking the picture, and Jcrop doesn't know about it.
Code:
<img src="<?php echo $src_folder . $subPath.$src; ?>" id="cropbox" style="max-width:585px;" />
The style="max-width:585px;" should be removed, since Jcrop (the javascript right below it around line 121) already restricts its size. So when you crop it, Jcrop thinks the maximum picture width is 585px, instead of the actual picture width (mine was 1920px), because CSS is shrinking the picture, and Jcrop doesn't know about it.