full image size show in cropping area on page load, then adjusts as per settings 1 second later

trupal218 - October 25, 2009 - 08:21
Project:Imagefield Crop
Version:6.x-1.x-dev
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hello,

I was wondering if this is by design or an issue that is currently being addressed/or needs to be addressed if possible.
The FULL image shows for 1 second after page load, then adjusts to the smaller as per settings (as seen in attachment) to be used to select the image cropping area.

Is there a way to make the full image not show on page load?

Are others also seeing this issue?
I see the same issue using IE, Safari, Firefox

Thank you!

AttachmentSize
Untitled.jpg67.01 KB

#1

rburgundy - October 26, 2009 - 05:03

subscribing.

#2

trupal218 - November 8, 2009 - 14:19

I have tested on a fresh Drupal install.
Still encountering the issue of the cropping preview image on the edit page showing in Full Size before it is re-sized.

Can anyone comment on if they are also seeing this?

#3

GuyPaddock - November 17, 2009 - 05:10

I see this as well. I tried setting the following in the style.css, and while it fixed this issue, it broke the cropping:

div.node-form img.cropbox {
  display: none;
}

#4

GuyPaddock - November 17, 2009 - 05:17

This seems to fix it:

/* ImageField Crop */
div.node-form img.cropbox {
  display: none;
}

div.node-form div.jcrop-holder img.cropbox {
  display: block;
}

#5

cels - November 17, 2009 - 08:51
Component:Code» User interface
Status:active» needs review

#4 your fix it's OK for me.

I added to imagefield_crop.css and seems to be good.

#6

trupal218 - November 17, 2009 - 10:04

thanks GuyPaddock! worked like a charm =)

Would anyone be able to comment if this css is quick fix for an issue with the module, or the issue always existed by design from the start?

#7

yhager - November 17, 2009 - 19:27

Thanks for the patch!

The reason this happens is that the crop interface can only work after the image has completed download and display - so the module waits about a second for this. IE7 being the most problematic browser in this regard.

However your fix seem to hide it nicely - can anyone confirm it works for IE7+ ?

#8

trupal218 - November 17, 2009 - 23:54
Status:needs review» reviewed & tested by the community

Hello yhager,

Cool - I understand now. Thanks for the explanation =)
Yep, I just tested on IE 7.0.5730.13 and looks good!

Changing status to RTBC for your final review and comments.

Thanks

#9

yhager - November 18, 2009 - 12:58
Status:reviewed & tested by the community» fixed

Committed. Thanks!

#10

System Message - December 2, 2009 - 13:00
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.