Responsive images recipe

Created on 10 May 2024, 4 months ago
Updated 26 August 2024, 13 days ago

Problem/Motivation

Responsive images are one of the most fiddly things to set up in Drupal, so it would be good to have something preconfigured.

There is a core issue to try to come up with a responsive-image-configuration-generator that would work with any theme, using the theme's breakpoints 🌱 [Meta] High-performance images (nearly) out of the box Active but that is very early conceptual stages. This might be something to think about alongside a theme builder (assuming there's a UI for breakpoints).

However if we assume that starshot will use Olivero, could we just ship with responsive image config optimized for Olivero to start with?

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🌱 Plan
Status

Postponed: needs info

Component

General

Created by

πŸ‡¬πŸ‡§United Kingdom catch

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @catch
  • πŸ‡¬πŸ‡§United Kingdom catch
  • πŸ‡ͺπŸ‡ΈSpain ckrina Barcelona

    Huge +1 to this. We need to make life easier to FEDs and provide good defaults for the rest.

  • πŸ‡­πŸ‡ΊHungary GΓ‘bor Hojtsy Hungary

    I think shipping with Olivero responsive image config is a good idea if we are shipping with Olivero. Why don't we think core should ship with those? Core already ships with Olivero specific blocks for example.

  • πŸ‡¬πŸ‡§United Kingdom catch

    That's a good point, I think we could probably include these in Olivero's default config?

  • Status changed to Postponed: needs info 26 days ago
  • πŸ‡¦πŸ‡ΊAustralia pameeela

    Overall responsive images will be covered by the media management track, and/or the individual content type tracks. But should we create a core issue for updating Olivero to use responsive images anyway?

  • πŸ‡¬πŸ‡§United Kingdom catch

    But should we create a core issue for updating Olivero to use responsive images anyway?

    The only thing Olivero-specific is the break points. The actual configuration, although maybe it could be shipped with Olivero, would be in the content types etc. which ship with the standard profile. I'm assuming Drupal CMS is going to completely replace the standard profile, or at minimum its constituent parts with recipes.

  • πŸ‡¦πŸ‡ΊAustralia pameeela

    Yes, Drupal CMS will. That's a requirement we've documented and will be covered by the work tracks. Do we want to update Standard profile also? Or not worry about it since we are addressing it in Drupal CMS?

  • πŸ‡¬πŸ‡§United Kingdom catch

    If Drupal CMS is going to use Olivero, then it probably makes sense to ship Olivero / core with the responsive images recipe for Olivero, and then rely on that in Drupal CMS - that way it would be possible to build up other non-Drupal CMS recipes that depend on it without an additional dependency.

  • πŸ‡¦πŸ‡ΊAustralia pameeela

    Moving this over to the Drupal CMS queue so we can track the aspect of what changes would be needed in core.

Production build 0.71.5 2024