Convert Binary Data to ImageURL
Question

I've got icons stored as binary data & I want to pass them to a JS module for display (LeaftletJS)

The JS module requires that the icon image is passed as a URL. Is there anyway I can retrieve the icons from the database and convert these into image URL's to pass to leaflet?

Have tried this:

https://www.outsystems.com/forums/discussion/39963/binary-data-to-image-display-in-web-page/

But it doesn't render the image, instead I get this:

15472 in that case being a reference ID for a component.

Hi,

Can you share with us some prints or the OML for us to see what can be wrong?

Thanks!


Best regards,

Ricardo Pereira

I refresh an aggregate & iterate it to produce a URL for each, converting from binary to base64 at the same time.

Then pass that URL into the relevant URL field in leaflet JS & it doesn't return an image.

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