[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.

2 Likes