Use height to calculate to best image to select for a container

Created on 26 April 2023, over 1 year ago
Updated 11 October 2023, about 1 year ago

Problem/Motivation

Currently the JavaScript only uses the container width to select the best image for a container. When object-fit: cover; is used for an image, this leads to the selected image being to small and the image looking blurry.

Proposed resolution

Also use the container height to select the correct image for a container.

Remaining tasks

  • Write patch
  • Review
  • Commit

User interface changes

None

API changes

None

Data model changes

None

✨ Feature request
Status

Fixed

Version

1.3

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands seanB Netherlands

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

Comments & Activities

Production build 0.71.5 2024