The crop marquee isnt visible when you "Add another item" after your first, previous, uploaded image. The preview shows a preview that is aligned 0,0 top left.

Comments

adeb’s picture

I have a possible fix:
Inside imagefield_crop.js, replace this:

// wait till 'fadeIn' effect ends (defined in filefield_widget.inc)
setTimeout(attachJcrop, 1000, context);

With:

// wait till 'fadeIn' effect ends (defined in filefield_widget.inc)
var myFunction = function() {attachJcrop(context);}
setTimeout(myFunction, 1000);

yhager’s picture

Can you please explain how this fixes things?

adeb’s picture

IE doesn't respect the extra parameter to setTimeout, the best way to solve this is by using closures.
It's explained in detail here: http://www.dmuth.org/node/1252.

yhager’s picture

Status: Active » Fixed

committed. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.