diff --git a/core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php b/core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php index 2d42377..6e67cd5 100644 --- a/core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php +++ b/core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php @@ -208,6 +208,7 @@ public static function process($element, FormStateInterface $form_state, $form) $file = File::load($default_image['fid']); if (!empty($file)) { $element['preview'] = array( + '#weight' => -10, '#theme' => 'image_style', '#width' => $default_image['width'], '#height' => $default_image['height'],