Error message
Notice: Undefined index: preview_image_style in multiupload_imagefield_widget_field_widget_settings_form() (line 81 of /home/u4586/domains/*****/sites/all/modules/multiupload_imagefield_widget/multiupload_imagefield_widget.module).

Comments

czigor’s picture

Status: Active » Postponed (maintainer needs more info)

Can you provide the steps how to reproduce this?

dgastudio’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

error has gone with last dev version. thank u.

gmclelland’s picture

Status: Closed (works as designed) » Active

I ran into this issue as well. I downloaded and enabled the modules and then created a imagefield using the multiupload. Immediately after hitting Save. I saw this message. Seems like everything still works fine.

czigor’s picture

Status: Active » Fixed

Fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

donquixote’s picture

Can you publish the -dev as a new official release?

joshf’s picture

Priority: Normal » Minor

I don't have time to read a million pages of patch process docs right now, so here's the diff from my company's svn:


--- multiupload_imagefield_widget/multiupload_imagefield_widget.module	(revision 249)
+++ multiupload_imagefield_widget/multiupload_imagefield_widget.module	(working copy)
@@ -18,6 +18,7 @@
       ),
       'settings' => array(
         'progress_indicator' => 'throbber',
+        'preview_image_style' => 'thumbnail',
       ),
     ),
   );
@@ -32,6 +33,9 @@
   // Add display_field setting to field because file_field_widget_form() assumes it is set.
   $field['settings']['display_field'] = 0;
 
+  // Add preview_image_style to field because image_field_widget_process() assumes it is set.
+  if (empty($instance['widget']['settings']['preview_image_style']))
+    $instance['widget']['settings']['preview_image_style'] = 'thumbnail';
   $elements = multiupload_filefield_widget_field_widget_form($form, $form_state, $field, $instance, $langcode, $items, $delta, $element);
   $settings = $instance['settings'];