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

user1355487 picture user1355487 · Apr 25, 2012 · Viewed 417k times · Source

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

Answer

rufo picture rufo · Aug 8, 2012

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.