Add responsive_image field widget in form display for image type field

Created on 23 August 2023, 10 months ago
Updated 17 May 2024, about 1 month ago

Problem/Motivation

User can have access to the pages with form displays.

On such pages custom theme can be used instead of admin theme.

So it makes sense to have control on the image uploaded (in terms of responsive image)

With enabled responsive_image module we still have only Image widget for image type fields.

We need to have ability to use responsive image style here.

Several reasons why:
1. Obviously image style per breakpoints
2. We have to show webp image (instead of original format -> it's already working with webp enabled & responsive image enabled)

Steps to reproduce

1. Add Image field to any entity type.
2. Enable responsive_image module.
3. Go to Form display settings page and try to configure widget for this Image field.

Proposed resolution

Provide Responsive image widget in responsive_image module to be able to use responsive image style on form displays.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

✨ Feature request
Status

Needs work

Version

11.0 πŸ”₯

Component
Responsive imageΒ  β†’

Last updated 3 days ago

Created by

πŸ‡·πŸ‡ΊRussia kostyashupenko Omsk

Live updates comments and jobs are added and updated live.
  • Needs usability review

    Used to alert the usability topic maintainer(s) that an issue significantly affects (or has the potential to affect) the usability of Drupal, and their signoff is needed. When adding this tag, make it easy to review the issue. Make sure the issue summary describes the problem and the proposed solution. Screenshots usually help a lot! To get sign-off on issues with the "Needs usability review" tag, post about them in the #ux channel on Drupal Slack, and/or attend a UX meeting to demo the patch and get direct feedback from designers/UX folks/product management on next steps. If an issue represents a significant new feature, UI change, or change to the general "user experience" of Drupal, use Needs product manager review instead. See the scope of responsibilities for product managers.

  • Needs product manager review

    It is used to alert the product manager core committer(s) that an issue represents a significant new feature, UI change, or change to the "user experience" of Drupal, and their signoff is needed. If an issue significantly affects the usability of Drupal, use Needs usability review instead (see the governance policy draft for more information).

  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024