Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Image crop problem
#6
Solved it. admin/image.php around line 93:

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.
Reply


Messages In This Thread
Image crop problem - by bonzodese - 2011-07-16, 09:28:09
Image crop problem - by Connie - 2011-07-16, 16:31:19
Image crop problem - by caebli3 - 2011-07-17, 04:57:20
Image crop problem - by Connie - 2011-07-17, 07:38:00
Image crop problem - by caebli3 - 2011-07-17, 08:21:40
Image crop problem - by caebli3 - 2011-07-20, 08:53:00



Users browsing this thread: 1 Guest(s)