How to see an image from local database

I am making a mobile application and the image address is allocated in the oracle database with directory pointing to another local server where it contains the image, an example of the path would be:

"\\srv-suica.local\ erp\products\temcodigo\7.PNG".

How can I access this path and display it on my screen?

Thanks.

Hi Deise  Silva!

The image is in inside of some table ? if yes, you have to do a query to your database to get the record with your image that is in binary data type and then put a show record widget in your screen, which source record is the output of your query.


OR

drag and drop an image widget and set the type of the image to "Database", set the attribute of your table and the entity identifier that have to be of binary data type:

I hope it could help you!


Best Regards,

Nuno Pereira

Hi Deise  Silva,

I suggest to take a look into this post: https://www.outsystems.com/forums/discussion/27014/how-to-access-local-image-resources-on-file-system-from-a-html-code-in-outsystems/

Maybe you can do something like: <img src="https://server/espace/img.aspx?name=7.png">

Regards,

hi! 


Have you used File_readBinary action to get the file ?


Just an idea. 

Regards

Graça

Hi, the images are stored in the database but the type is text, they aren't Binary.

And we don't have the http request, just the local link.

Thanks.

Hi 

You can convert the text into a binary file with: 

Hope it helps.

Dear Deise Silva,

Honestly speaking, I don’t have any idea on how to view an image from local database. But few days before I have done the same task of image insertion in my Access database. So, if you want to get idea on such then I can share a helpful post link with you. Maybe you get some idea from it.

3 Easy Ways To Insert Image In Access Database