This may be a rare case, but if you have images which were uploaded without imagefield_crop, and they are larger than the cropping area it then breaks.
I think there should be a check somewhere to ensure the image is not over the max size, and if it is resize it. This should be the same as the check after uploading a file.

Comments

yhager’s picture

Assigned: Unassigned » yhager

Right.

I'll take care of that.

yhager’s picture

I added a resize option for existing images.
Make sure that after you switch the widget to 'imagefield_crop' you click 'configure' and 'save' again, so that widget settings will be saved.
Also note that images are scaled upon pressing 'edit' (before you hit submit). It might not be ideal, but I think it's fine for the moment.
http://drupal.org/cvs?commit=103059

yhager’s picture

Status: Active » Fixed

I added a resize option for existing images.
Make sure that after you switch the widget to 'imagefield_crop' you click 'configure' and 'save' again, so that widget settings will be saved.
Also note that images are scaled upon pressing 'edit' (before you hit submit). It might not be ideal, but I think it's fine for the moment.
http://drupal.org/cvs?commit=103059

Anonymous’s picture

Status: Fixed » Closed (fixed)

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

MartysMind’s picture

Priority: Normal » Critical
Status: Closed (fixed) » Active

This fix results in file not found in some cases.

The file does not seam to be defined when used.

yhager’s picture

Priority: Critical » Normal

@MartysMind: Can you provide more details? How to reproduce this?

yhager’s picture

Status: Active » Postponed (maintainer needs more info)