Base64 encode images

CouchDB offers and option to base64 encode images this may prove to be useful.

https://pouchdb.com/guides/attachments.html