I am trying to have a image insertion system. I've been able to get local images and also images by URL, but i need to base64 encode the url images before transmission to the server. Is there anyway to do it?
The local images are encoded automatically when we read them with readAsURL. How do I handle URLs in a similar fashion?
readAsDataURL()from the File API? And what you want is a base64-encoded data: URL?