data-aspect-ratio not applied to original images

Created on 15 August 2016, over 8 years ago
Updated 19 September 2023, about 1 year ago

Hi,
I would like to show original images from certain width. However, if aspect ratio is turned on for certain mapping admin/config/media/picture/settings, only image styles have data-aspectratio included in the html. Not original image which is included in mapping as well.

So for example on mobile devices everything is ok, on larger devices it is still problem.

πŸ› Bug report
Status

Closed: outdated

Version

2.0

Component

Code

Created by

πŸ‡ΈπŸ‡°Slovakia loparr

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.

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

    I am closing all very old tickets that have not received comments for a long time. If someone is still facing these issues, please reopen it. Feel free to contribute with more info or a patch.

Production build 0.71.5 2024