Skip to content

Mix of portrait and landscape images #51

@voortexx

Description

@voortexx

Hello ! I'm a bit stuck on an implementation we want to do.
We have a mix of portrait and landscape images that we want to display with a borderRadius.
I tried several combinations of parameters but I couldn't get a correct result.

Is there a way for the component to return the dimensions of the original image that will be displayed so that I can adapt the style accordingly?

For more detail we would like to have this type of style and I'm not sure if it is possible
Portrait format: full width and adjustable height
Landscape format: fixed height (290px) and width that fits

Capture d’écran 2023-04-18 à 12 09 50

Metadata

Metadata

Assignees

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