components icon indicating copy to clipboard operation
components copied to clipboard

Mix of portrait and landscape images

Open voortexx opened this issue 1 year ago • 2 comments

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

voortexx avatar Apr 18 '23 10:04 voortexx