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.
When switching to the widget Media file selector, the 'preview image style' field disappears.
After editing and saving the Image field the original image is being shown instead of the preview image, with this message:
Notice: Undefined index: preview_image_style in CommerceProductInlineEntityFormController->defaultFields() (line 63 of (....)/inline_entity_form/includes/commerce_product.inline_entity_form.inc).
Switching back to the regular widget (and saving the field) resets the image preview type. Then i can switch back to the file selector, but only as long as i don't edit the field.
Comments
Comment #1
dreeuwtje CreditAttribution: dreeuwtje commentedComment #2
Chris Matthews CreditAttribution: Chris Matthews as a volunteer commentedClosing this issue as outdated. However, if you think this issue is still important, please let us know and we will gladly re-open it for review.
sincerely,
- the Drupal Media Team