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 |
Jump to:
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!
| Attachment | Size |
|---|---|
| Untitled.jpg | 67.01 KB |

#1
subscribing.
#2
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
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
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
#4 your fix it's OK for me.
I added to imagefield_crop.css and seems to be good.
#6
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
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
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
Committed. Thanks!
#10
Automatically closed -- issue fixed for 2 weeks with no activity.