Show HTML (Base64) in web app

Hi im trying to display an image in base64 in my web app, i know that the web view component can doo that but it doesnt work in web apps.
Do you know any other way?

The reason im doing this, is that i have images in url format that i want to store in my database in firebase, but because i need to have a locale filepath in order to do that automatically, the only way i can think of is encoding the image with an api in Base64 and somehow display it in my app.
If you have any other thought about that please tell me!

Also if you have any apis from url to base 64 to suggest, im happy to test them!

Have you tried using the HTML renderer? That should work, if you include the info that the img is of base64 type.

Ohh i thought i had removed this post, i found out that you can show the base 64 code in regular image component, if it has this in the beginning,
data:image/jpeg;base64,
now the problem, is, that because the base64 converter component, gets blocked with the specific urls because (as you might remember you found out) they blocked from instagram (otherwise the idea works).
example

https://instagram.fgnd1-1.fna.fbcdn.net/v/t51.2885-19/s150x150/115805821_3683456148349790_7697682752840594727_n.jpg?_nc_ht=instagram.fgnd1-1.fna.fbcdn.net&_nc_cat=102&_nc_ohc=nVzerCe6Q7MAX9DNG87&edm=ABfd0MgBAAAA&ccb=7-4&oh=00_AT86AtZSIEe-Ejdlp5GUYO1gw8ZjDYiCfWl1BTXkWZ_X_A&oe=61F679D0&_nc_sid=7bff83
(my face LOL)

i cant find an api to convert the image, from url to base 64, from what i understand, this is something so basic in coding that there are no apis.

Where im now
after testing with this site the idea works

1 i need to find an api to make the conversion
2 or i need help to use the javascript component with a script that does this (there are many examples online) And hope that the requests wont get blocked before the conversion.

1 Like

Hi! We have a formula called ENCODE_BASE64, would that work for you? Or maybe this flow function.

1 Like

yeah, as i said, this would idea, works with that flow function, unfortunately, in my case the urls are from instagram and get blocked and theres this error from that formula,
Type error:Failed to fetch
(but that doesnt mean it cant be done, because when testing with other online encoders, it works with there urls)
all these are for the convert file function, because the encode formula, if used, encodes only the string of the url and not the image