Browse my collection of some pretty cool javascript snippets. This section is for vanilla javascript. No frameworks and libraries like jQuery required.
Use the below javascript function to base64 encode your photos. It requires the FileReader() class which is supported by all current modern browsers.