The following warnings occurred: | |||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
|
Bug in 'Create Thumbnail' functionality using Jcrop - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: Bug in 'Create Thumbnail' functionality using Jcrop (/showthread.php?tid=1584) |
Bug in 'Create Thumbnail' functionality using Jcrop - Blob - 2011-04-18 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',{ Bug in 'Create Thumbnail' functionality using Jcrop - mrmut - 2011-11-12 Blob Wrote:Workaround: Don't forget the comma after square bracket: Code: trueSize: [<?php print("$imgwidth,$imgheight"); ?>], Full code on 3.0 is: Code: jQuery(document).ready(function() { Bug in 'Create Thumbnail' functionality using Jcrop - Connie - 2011-11-12 @Chris, this bug should be fixed in 3.1 ;=) Cheers, Connie |