Skip to content

make use of the width/height attributes for images in the models and components #173

Description

@reusr1

with the introduction of headwirecom/peregrine-cms#671 we support extraction of width and height from assets in the sling models. We should make use of this feature in themecleanflex to render sensible defaults to prevent layout shifts and force the browser to save space for the image that will be loaded

possible approaches:

@Felix-Puetz do you know others?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions