trying to base64 encode image in docs