How to convert uploaded image into base64 format

I am using datasets, i want to convert uploaded image into base64 to do a 3rd party API calls. How can I do that in wix with Corvid?

2 Likes

Did you find a solution? I am looking for something similar.

Wix supports this NPM Package that can handle the conversion: image-to-base64 - npm (npmjs.com)

This is how to install an NMP package on Wix in case you need it: Wix Support

Awesome! Thanks amotor. This looks like exactly what I need. I will post full code for others to utilize after I have tested it out.

I don’t suppose you still have this code? :slight_smile: