To reproduce this bug:
1. Upload Image
2. Click on "manage image crops"

To workaround this problem:
1. Upload Image
2. Click on "manage image crops"
3. Close EPSA Crop popup interface
4. Click on "manage image crops"
(Works second time round)

CommentFileSizeAuthor
#3 bannercropproblem.jpg34.61 KBpaulhuisman88

Comments

Jazz Li’s picture

Title: Does not work correctly, on first access to "manage image crops" for the picture in concern, immediately after upload. » Does not work correctly, immediately after upload, on initial access to "manage image crops" for the picture in concern.
yvmarques’s picture

Hi,

Can you give me more informations ? Like what doesn't work correctly ? Have a JavaScript error or any another error ?

And, have you the same issue on the demo website ? http://aswissidea.org ?

Thanks,

paulhuisman88’s picture

StatusFileSize
new34.61 KB

i recognize this problem. The first time i'm clicking on [manage image crops] it will show the cropper as the image below.

The second time it'll work correctly.

No javascript errors. No idea what's causing it.

Can you help me?

yvmarques’s picture

I see,

Can you tell me with the help of firebug or another tool like that which status you've for one image that has the style epsacrop_thumb (it should be in the URL) ?

This can happen if Image couldn't finish to generate the image before the crop area is set.

Thanks,

-- Yvan

vivianspencer’s picture

I'm having the same issue, I had a look at the requests in firebug and the image is being loaded after the crop area is set.

YK’s picture

Version: 7.x-2.1 » 6.x-1.2

I changed setTimeout parameter from 1000 to 2000 in epsacrop.js: 64 line.
It has solved the problem for me.

carvalhar’s picture

I had this issue with IE7.
#6 worked for me (after some refresh)

paulhuisman88’s picture

Thanks YK, this worked for me!

yvmarques’s picture

Status: Active » Closed (fixed)

I just back ported the patch from 7.x