Relative Content

Tag Archive for vbaapims-accesshttpsgoogle-drive-api

Problem in Upload image from MS Access to Google Drive using API

In my MS Access database i want to upload my customer profile photo to my google drive using HTTPS Post request with google drive API in VBA. i successfully uploaded photo in my google drive but the format is not supported. For uploading photo using https post request i need to convert the image into Base64 string. After uploading i can’t see or open the photo until i download the photo and rename the file extension from “jpg” to “txt”. After renaming the file i can open the file in notepad and see the Base64 string. if i convert the Base64 string then i can see the photo. How can i convert Base64 image? i use HTML img tag like that