Use original image when its bigger than smallest image style

Created on 12 September 2023, over 1 year ago
Updated 11 March 2024, 10 months ago

Problem/Motivation

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Active

Version

1.3

Component

Code

Created by

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

Comments & Activities

  • Issue created by @ckephart
  • πŸ‡³πŸ‡±Netherlands seanB Netherlands

    Not sure if I'm ready to support this. Responsive Images imply that we should downscale and optimize images that are too big. Small images don't need to be optimized for different devices.

    I think developers should encourage editors to upload images that have enough quality for the places they are used on the site. That being said, media can, of course, also be used in WYSIWYG editors, where you should probably allow more freedom. For those cases, a simpler media view mode (not using the Easy Responsive Images formatter) could be used to show images as they are uploaded. For example, a view mode called "Small" (or something similar) using an image style to enforce a maximum width without upscaling.

    I'll leave the issue open for more feedback. I might be missing something.

  • πŸ‡ΊπŸ‡ΈUnited States shaal Boca Raton, FL

    Fixing a couple of bugs found in previous patch

  • πŸ‡ΊπŸ‡ΈUnited States shaal Boca Raton, FL

    And fixing a bug in my own previous patch...

  • πŸ‡ΊπŸ‡ΈUnited States shaal Boca Raton, FL

    This patch fixes an edge case where file stage proxy + webp, doesn't allow checking the width of a public URI.

  • πŸ‡ΊπŸ‡ΈUnited States rlhawk Seattle, Washington, United States
Production build 0.71.5 2024