Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

[Snippets] Responsive images sizes #2

@stafyniaksacha

Description

@stafyniaksacha

At this time, only fixed width/height parameters are available.

We need to be able to define sizes instead if we want to serve images at the optimal size depending on screen.

This can be done easily if we keep the same aspect ratio. If we want other ratio, we can generate them using position/resize sharp filters.

A UI will be required to preview the result of those filters (more generally, we may need a UI to preview all sharp/ipx filters in real time)

We can then apply those ratios with pixel density and formats filters in snippet generation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions