encode images to base64 and update README to reflect this