Maximum image size in image viewer

1
Hi guys, I want the image viewer to display a picture in a certain size (so it doesn't mess up the rest of my layout) but when I set it to for instance 100x100px it will stretch the image to this size. However, I want the image not to be stretched out but to maintain its original aspect ratio. In other words, I want this 100x100px size to be the MAXIMUM rather than the forced size. Any ideas on how I can obtain this?
asked
1 answers
3

Use the dynamic image viewer from the appstore https://appstore.mendix.com/link/app/Image Viewer

Set the image attribute to the 'fileID' attribute, and the prefix to /file?fileID=

answered