Not sure if this is a bug or if it needs to be a feature request, but when I switch the widget type to fupload, the extended fields are not showing up.

Comments

alan d.’s picture

Title: Not working with Image FUpload » Image FUpload / ImageField Extended integration
Project: ImageField Extended » Image FUpload
Version: 6.x-4.1 » 6.x-3.x-dev
Category: bug » feature

This module is based on the standard cck field form, and Image FUpload looks like it fully overrides this.

From the project page of FUpload

TODO
Better integration in CCK's Filefield, also a better GUI is needed.

Pushing into that queue for maintainer feedback At the moment there is no straightforward integration path.

IE: IFE uses a element #process callback to do its magic, FU doesn't work that way:

 /**
 * Implementation of hook_elements().
 */
function imagefield_extended_elements() {
  return array(
    'imagefield_widget' => array(
      '#process' => 'imagefield_extended_widget_process',
    ),
    'filefield_widget' => array(
      '#process' => 'imagefield_extended_widget_process',
    ),
    'imagefield_crop_widget' => array(
      '#process' => 'imagefield_extended_widget_process',
    ),
  );
}