Displaying files (e.g. images) stored in Google Drive on a website

google-drive-api

I was wondering if its possible to access/display files like images which are stored in Google Drive on a public website.

Best Answer

A workaround is to get the fileId with Google Drive SDK API and then using this Url:

https://drive.google.com/uc?export=view&id={fileId}

That will be a permanent link to your file in Google Drive (image or anything else).

Note: this link seems to be subject to quotas. So not ideal for public/massive sharing.

Related Topic