Load Image - Scale & Maintain Aspect Ratio

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.