Is there any way how to encode a png/jpeg/gif image to base64 using Javascript (can't use canvas toDataURL)? Thank you.
+1
A:
If you can't use the canvas API, then you can't.
Not unless it does a loopback with the server which returns the base64 encoded image.
alex
2010-10-26 01:03:16