I have a photo and graphics tab within a vertical tabs setup with several file fields, one of which uses imagefield_crop.
Since that tab is not first the crop area begins the page load hidden and I believe this is why it fails.
The behavior is:
- the master image appears at full size, not a size appropriate to the space.
- the cropper square is just a few pixels big.
For now I've placed it in the first tab and it works fine.
Screen shot attached.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | image-crop-issue.jpg | 259.42 KB | dchaffin |
| Screen shot 2010-04-22 at 1.37.39 PM.png | 495.95 KB | doublejosh |
Comments
Comment #1
doublejosh commentedtype-o in title "if" = "it"
Comment #2
yhager commentedYes, I am aware of this issue. Until I find a way to detect when the cropping area becomes visible, it will have to be visible at page load in order to work properly.
Comment #3
dchaffin commentedI'm having a similar issue with Vertical Tabs and Imagefield Crop. The crop box on mine is completely messed up ... it goes way outside the image. (see attached)
Not only does the crop box show up outside the image, it fails to work at all. I moved the tab to the top so that it would be the first one visible when the page loaded to see if that helped. It did not.
Comment #4
dchaffin commentedAh ... it turns out mine was just a setting in Imagefield Crop ...
As soon as I unchecked "Enforce minimum crop size based on the output size" all was well.
Comment #5
doublejosh commentednice!
Comment #6
elv commentedSame issue when you include it in a cck group, collapsed by default: the crop area is not visible when the page loads and it breaks.
If the group is set to expandable or always visible it work fine.
Comment #7
ryan_courtnage commentedsubscribe. Bumping version to -rc2.
Comment #8
ryan_courtnage commentedI think this is a dup of http://drupal.org/node/719714
Comment #9
JamesK commentedMarking as duplicate of #719714: Collapsed fieldgroups break crop area display. where work is progressing on solutions to this.