Image Max Width Stays Proportional / Image Max Height Not Staying Proportional

If I set a Max Width, it keeps image proportional.

But if I set a Max Height, it doesn’t.

Is this a bug?

Hey @mikewolf1127,

No, it’s not a bug. You’ve set a fixed Image Width (80vw) yet you have a Max Height of 400px. Set the Max Height to none too.

Thanks.

OK-

I want to make an image scale up to 80vw if the viewport allows it, but limit the height so it fits better in a viewport that is smaller vertically than horizontally, as in landscape mode.

Hello @mikewolf1127,

If you want to have 80vw wide and limit the height, set a maximum height and then set the Object Fit to cover and also the position to top center. The image will be cut when displayed as cover.

Hope this helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.