Doesn't play nice with filefield_insert
wonder95 - June 13, 2009 - 05:59
| Project: | Imagefield Crop |
| Version: | 6.x-1.0-beta3 |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
I have a use-case for this module, and I would love to be able to use it with filefield_insert (yes, I know it's still in beta). The problem seems to be that imagefield_insert overwrites the filefield_insert fields. I've attached a screen shot that shows two image fields - the top one with the field type set to "Image with cropping" and the bottom one set to just "Image".
| Attachment | Size |
|---|---|
| crop_insert.jpeg | 23.08 KB |

#1
Oops, got that backwards; the top field in the screen shot is just set to "Image", and the bottom is "Image with cropping".
#2
Did you mean filefield_insert? The image you attached looks like filefield_sources..
#3
OK, here are two screen shots of the same Image field with imagefield_crop enabled and disabled. crop_enabled.jpg is with the field set to "Image with cropping", an image attached, and the node saved; crop_disabled.jpg is with the field set to just "Image", an image uploaded, and the node saved. In crop_enabled, you can see that the "Send to text area" button is not there, and neither are the Upload, File Browser, Remote URL, and Reference Existing links (all from FileField Sources). So, it appears that imagefield_crop is wiping out the fields from the other modules.
#4
The support for imagefield_crop needs to come from those two modules. I've created #495206: Insert support for ImageField Crop and #495210: support sources in imagefield_crop widget to track these.