Change image embedding format to base64 encode the original files