Hi,
How to keep image ratio while resizing? with css?
I looked at the image popup component but cannot figure it out.
Even if I set the size proportionally, for example: width 79%, height 56%, when the screen is resized, the ratio isn't kept.
Thanks in advance.
How to keep image ratio while resizing?
Follow up: I figured out why the ratio was maintained for the pop up image, it's because it's and external image. And apparently, the external image componant takes care of the resizing.
Thus, the solution was to use an external image instead of an embeded one.
Thus, the solution was to use an external image instead of an embeded one.
- Hopki
- Gnome
- Posts: 13028
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/