image width and height

Created on 20 December 2022, almost 2 years ago
Updated 22 August 2023, about 1 year ago

Problem/Motivation

Currently the media item Betterembed has also a file field item for the image of the betterembed thumbnail.
The width and height of the image is missing in the html code.
So in some special cases, (e.g. if you have an anchor jump and load=lazy set, then calculation of browser height can get broken and the anchor jump to an heading will be missplaced.

Steps to reproduce

Proposed resolution

It would be good to have at the <img tag also a width="xxx" and height="xxx" attributes, to prevent this.

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇦🇹Austria Grienauer Vienna

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