blueimp/jQuery-File-Upload — Issue #929: jcrop after image upload
Author: elastic-od
Created: 2012-01-06 21:41:47+00:00
State: open

How can I apply Jcrop plugin to newly uploaded images?
It is simple with uploaded images after refresh page, like:

$('#image_id').Jcrop({
options:param,
});

but it doesn't work with just uploader images.
There is a way to use "live" or "delegate" methods, but they work with events only, but I need to apply crop area to image right after uploading.

One more way I have tried to put onload event to in 'template-download' (index.html), like:

it looks like work fine in Opera but in IE and FF I get duplication of crop area with hanging browser.