Skip to content

Sizing: fit large images, but do not zoom small ones #77

@candidtim

Description

@candidtim

Hi! Is it possible to configure the widget such that a large image is downscaled to fit the available space, but a smaller one does not zoom in?

When setting width and/or height to auto, larger images are scaled to fit the available space, but so are the small ones - they are effectively zoomed in. When keeping width and height at none, the images keep their original size - meaning that larger images do not fit and overflow.

Is it possible to have an image container that displays any image in full and keeps the image original size, unless its too big in which case it is downscaled to fit the available space?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions