Page 1 of 1

Image Dimensions

Posted: Mon Jun 22, 2020 12:21 am
by Deon

Hi
Why is the aspect ratio maintained if you implement a fixed width and auto height ie 250px x auto, but you cant do auto x 250px. The width expands to 100% of the container and stretches the image out of proportion.

It does not make sense to have the aspect ratio work for width only and not for height.


Image Dimensions

Posted: Mon Jun 22, 2020 2:49 pm
by Serhii Kulibaba

Hello Deon,

It might depend on the size of your image and custom CSS, because it just sets the CSS properties height and width.