1097
Views
2
Comments
Solved
Auto resize images and image quality

Hi guys i am new to outsysytems and want help on the following : 

When I use the upload widget the preview of that widget "resizes" the picture perfectly making it fit into the container.  


As you can see it keeps a good resolution and image quality.

I then save this to as Binary to the database and load it in my main screen.

But when I load it with the Image widget it comes back all blurry.

The Image widget's attributes are : 

The Container of the that the image widget is in : 


I have tried to resize the image before storing it as follows : 

But it still does not come out as good as the preview from the Upload Widget.

What can I do to load my image with the same quality ?

Thank you

UserImage.jpg
Jacques de villiers
Solution

Got it working with external image URLs 

UserImage.jpg
Pankaj Jain

Hi Jacques de villiers,

You can find similar thread as below to make the image auto fit.
https://www.outsystems.com/forums/discussion/68837/auto-fit-images-inside-a-container/

If you also want to resize the image you can use a forge companent:
https://www.outsystems.com/forge/component-overview/7100/resize-image-before-upload 

Thanks
Pankaj

UserImage.jpg
Jacques de villiers
Solution

Got it working with external image URLs 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.