Support image styles with undefined width

Created on 8 April 2022, almost 3 years ago
Updated 22 November 2023, about 1 year ago

Problem/Motivation

It is possible to configure an image style with just a height value, leaving width undefined / dynamic.

Unfortunately, Auto Retina does not do any magnification for styles that lack a defined width.

It would be nice if Auto Retina could produce magnified image derivatives for image styles without a defined width.

Proposed resolution

When width is absent, calculate it and proceed with delivering the magnified image.

Remaining tasks

Patch, review.

User interface changes

None.

API changes

None.

Data model changes

None.

✨ Feature request
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States chrisolof

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024