[Solved] how do I base64 encode an image?

The last one is easy. An image from Canvas is already in Base64 format. You just need to use this block
image

The other two requires either AJAX or Node.js libraries if needed as independent extensions but the image from photo library and image from camera are already supported by my Web Viewer so practically it is all supported.

See this screenshot

Once you click on the Choose File button you are prompted to select between camera or files in your mobile.

1 Like

To save the image of Canvas in Google Drive see my demo
https://x.thunkable.com/projectPage/618cfa678cdb0f0011998dbe

and this is the tutorial for it

1 Like

I already saw your demo, but when image of canvas is resize, image is no more in base64 format. For the two other point I don’t want to click on button on web_viewer

Thank you

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.