Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The current behavior is to show the widget Above the image field widget. This is because in the settings the imagefield_zip_location by default is set to "Above" as IMAGEFIELD_ZIP_CCK_WIDGET is defined as 0. In my opinion it would have been a better choice to set 0 => "Disabled" an 1 and 2 for Above or Below, but it's to late now. Anyway, enabling the widget should be an opt-in for each field, so the default value should be 2 (Disabled).
Comment | File | Size | Author |
---|---|---|---|
#1 | imagefield_zip-widget-default-disabled-2428351-1.patch | 402 bytes | osopolar |
Comments
Comment #1
osopolarSetting IMAGEFIELD_ZIP_CCK_WIDGET will fix this, but should be mentioned on the release page, as this will disable the widget for all fields where the variable
imagefield_zip_cck_widget_' . $form['#field']['type_name'] . '_' . $form['#field']['field_name']
was not explicitly set before.Comment #2
osopolar