# Load Image - Scale & Maintain Aspect Ratio

**URL:** <https://forum.inductiveautomation.com/t/load-image-scale-maintain-aspect-ratio/52997>\
**Category:** Ignition\
**Tags:** ignition80, vision\
**Created:** [November 11, 2021, 10:32pm UTC](https://forum.inductiveautomation.com/t/load-image-scale-maintain-aspect-ratio/52997 "2021-11-11T22:32:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![csanyia](https://avatars.discourse-cdn.com/v4/letter/c/48db29/32.png) [@csanyia](https://forum.inductiveautomation.com/u/csanyia)\
**Post date:** [November 11, 2021, 10:32pm UTC](https://forum.inductiveautomation.com/t/load-image-scale-maintain-aspect-ratio/52997/1 "2021-11-11T22:32:18Z")

</div>

I have a web folder with a bunch of images. I would like to load these images in a popup window.

I’ve been trying to use IMAGE and Label Icons as a means to get the image loaded, i can get it working by coding a URL variable and having that bound but it is always horribly disproportioned / scaled very poorly.

I was hoping there would be a “Maintain aspect ratio” button to click on, but there isn’t.

Looking around the forum I do see others doing something similar but it is not quite what im looking for and I lack the java knowledge to adapt.

Any help is appreciated.
