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.

Comments

doublejosh’s picture

type-o in title "if" = "it"

yhager’s picture

Status: Active » Postponed

Yes, 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.

dchaffin’s picture

StatusFileSize
new259.42 KB

I'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.

dchaffin’s picture

Ah ... 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.

doublejosh’s picture

nice!

elv’s picture

Same 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.

ryan_courtnage’s picture

Title: When outside main Vertical Tab if fails. » When outside main Vertical Tab it fails.
Version: 6.x-1.0-rc1 » 6.x-1.0-rc2

subscribe. Bumping version to -rc2.

ryan_courtnage’s picture

I think this is a dup of http://drupal.org/node/719714

JamesK’s picture

Status: Postponed » Closed (duplicate)

Marking as duplicate of #719714: Collapsed fieldgroups break crop area display. where work is progressing on solutions to this.