I use Jcrop, and I don’t want to dynamically change the aspect ratio for the selection based on user input, so I assume that the way to use is to use the Jcrop api.
The thing is, if I use it as a jquery function, it works fine:
$('#cropbox_full').Jcrop({
onChange: update_full_dimensions,
onSelect: update_full_dimensions
});
But if I use it when calling the Jcrop function, my image is no longer displayed:
var api = $.Jcrop('#cropbox_full', options);
Is this a Jcrop bug?
BTW I use chrome and jquery 1.4.2
source
share