Quantcast
Channel: OutSystems Community
Viewing all articles
Browse latest Browse all 1476385

[Forums] Getting image url from binary data

$
0
0

Jorge Martins wrote:

Hi ragul sp,

if the image is stored on local storage (on the device), the URL will likely have to be a "data:" url. Check here for an explanation of what these URLs are. You will build them by starting the URL with data:image/<format>;base64, and then appending the contents of the image (after converting the binary content to base64 you can find this functionality in the BinaryData platform extension).

If it's in a server database, you can define a screen that receives as input parameter the ID for the image, and in the Preparation fetches it from the database and ends in a Download tool. Your image's URL will be the URL for your screen plus the input parameter thats tells it which image to provide.

Hi Jorge,

              Thank you so much. I think i found an answer for my question and that's of great help.



Viewing all articles
Browse latest Browse all 1476385


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>