Support for retina displays / device pixel ratio

Created on 18 August 2023, about 1 year ago
Updated 29 September 2023, about 1 year ago

Problem/Motivation

Currently the device pixel ratio of a display are not taken into account when selecting the best matching image.

Steps to reproduce

  • Display an image using an image_sizes preset on a retina display. The displayed image is using the parent's width, but not e.g. the doubled width for the 2x device pixel ratio

Proposed resolution

  • Take the device pixel ratio into account when selecting the appropriate image to display (in JavaScript)

Remaining tasks

  • Create a patch/MR to implement this feature

User interface changes

n/a

API changes

n/a

Data model changes

n/a

Feature request
Status

Fixed

Version

3.0

Component

Code

Created by

🇩🇪Germany hctom

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

Comments & Activities

Production build 0.71.5 2024