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

AttachmentSize
crop_insert.jpeg23.08 KB

#1

wonder95 - June 13, 2009 - 06:03

Oops, got that backwards; the top field in the screen shot is just set to "Image", and the bottom is "Image with cropping".

#2

yhager - June 17, 2009 - 17:50

Did you mean filefield_insert? The image you attached looks like filefield_sources..

#3

wonder95 - June 17, 2009 - 20:19

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.

AttachmentSize
crop_disabled.jpeg 24.07 KB
crop_enabled.jpeg 29.6 KB

#4

yhager - June 18, 2009 - 12:54

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.

 
 

Drupal is a registered trademark of Dries Buytaert.