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.
Multiupload Widget is not showing Hide Image box
Multiupload Widget is not showing Hide Image box
Comments
Comment #1
neRok CreditAttribution: neRok commentedThanks for reporting. Multiupload Imagefield Widget, as the name suggests, has its own widget that replaces the Drupal image widget. This module is currently coded to only modify the image widget. I have tweaked the code (below) so that it modifies all widgets that work with image fields. This could be dangerous, as it may negatively impact some modules (although I doubt it) - however I have tested and it does work* with Multiupload.
* When you upload multiple files, only the first will use the setting in the tickbox directly under upload button. The rest will use the default from the field settings form. I may investigate fixing this.
Anyway, I am not sure if I will update the module to include this code, in case of the aforementioned possible incompatibilities. You can fix you own module right now by replacing the entire functions
image_hide_form_field_ui_field_edit_form_alter
andimage_hide_field_widget_image_image_form_alter
with the following...(yes, that means delete image_hide_field_widget_image_image_form_alter and replace with image_hide_field_widget_form_alter)