Postponed (maintainer needs more info)
Project:
Imagefield Crop
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
22 Jan 2008 at 12:37 UTC
Updated:
6 Apr 2009 at 13:21 UTC
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
Comment #1
yhager commentedRight.
I'll take care of that.
Comment #2
yhager commentedI 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
Comment #3
yhager commentedI 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
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #5
MartysMind commentedThis fix results in file not found in some cases.
The file does not seam to be defined when used.
Comment #6
yhager commented@MartysMind: Can you provide more details? How to reproduce this?
Comment #7
yhager commented