Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug in 'Create Thumbnail' functionality using Jcrop
#1
GetSimple version: 3.0

Error description:
Error creating thumbnails for images larger then 585x500.

Evaluation:
Jcrop trueSize parameter is not set in file admin/image.php at line 120. As a result Jcrop returns bad coordinates for all images larger then 585x500 because of image scaling.

Workaround:
Add following line:
trueSize: [ <?php print("$imgwidth, $imgheight"); ?> ]
just after
var api = $.Jcrop('#cropbox',{
Reply


Messages In This Thread
Bug in 'Create Thumbnail' functionality using Jcrop - by Blob - 2011-04-18, 07:33:44



Users browsing this thread: 1 Guest(s)