The option to define default image on both, storage and instance level is confusing

Created on 6 October 2023, 12 months ago

Problem/Motivation

The difference between field storage and field instance level settings is generally not well understood by majority of the users. Most users report that they find the correct page by trial and error. However, this approach does not work when the exact same configuration is provided on both forms. This is a feature that we happen to provide on the \Drupal\image\Plugin\Field\FieldType\ImageItem for uploading a default image.

Proposed resolution

There is a pre-existing issue to #2074217: Reconsider support for field-level & instance-level settings with the same name ? reconsider even supporting this on the API level but from the image field perspective, it may make sense that you can define a default image for the storage instance so that you don't have to upload the same image multiple times.

We could potentially clarify this at least by updating the labels. We should probably also implement a checkbox similar to 📌 Conditionally show default value fields Fixed . We may also want to update the description texts because the default value for the image field behaves differently from the other fields.

There might be an opportunity to dynamically show and hide the fields depending on the state after 📌 Combine field storage and field instance forms Fixed .

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Active

Version

11.0 🔥

Component
Image module 

Last updated 3 days ago

Created by

🇫🇮Finland lauriii Finland

Live updates comments and jobs are added and updated live.
  • Usability

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

  • Field UX

    Usability improvements related to the Field UI

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024