You can store photos and other images on Google Drive, but Google doesn’t offer an easy option for embedding that image on another web page (as it does for videos or PDF files). Google Operating System outlines a URL hack which allows you to include pictures stored on Google Drive in other pages.
If you edit an uploaded picture, you’ll see a URL in the form
https://docs.google.com/document/d/FILEID/edit
where FILEID is a very long sequence of characters. Edit this so it reads
http://drive.google.com/uc?export=view&id=FILEID
Note that this will only work if you set the access permissions on the uploaded image to be public; a private file (which is the default) won’t work. It’s unlikely you’d permanently store images on Google Drive for use on a web site, but it could be useful in some circumstances.
Permalinks for Google Drive Images [Google Operating System]
Leave a Reply
You must be logged in to post a comment.