Convert image to base64 string

I’m using in my aplication, one API that uses image file in base64 string. So i need to convert a image valeu from Picture upload, in a base 64 string. How can i do that?

I alreary search the code in javascript to convert image in base64, but i’m having trouble with the plugin Tollbox, i don’t know to write the code in the plugin. Someone know some tutorial how to use the plugin?

There is a built in operator in bubble called “:encoded in base64” that can be used after any dynamic reference to an image: Operators & Comparisons - Bubble Docs


Didn’t see that, thank you very much!