Hey! So I am building an app to show some products and I wanted to show images of that products. I was watching a video and the youtuber created a new attributte and changed the data type to binary and then, createad a gallery view. I am building an tradicional web so I do not have the gallery view... How do I create a field "Image" and show it in a data table?
Thanks
To insert in the database you should create an attribute like this one below and assign the image content to it when you upload it, if that's the case.
For best practices purposes, don't use the main entity (User, Invoice, etc etc) to save the image. Always use a side entity with the main entity foreign key. This will improve your performance when you only want to retrieve the main data.
Hi Tiago,
Please refer these links.
https://success.outsystems.com/Documentation/11/Developing_an_Application/Design_UI/Inputs/Enable_End_Users_to_Upload_Files
https://success.outsystems.com/Documentation/11/Developing_an_Application/Design_UI/Images/Display_an_Image_Stored_in_the_Database
Thanks & Kind Regards,
Sachin