Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I display images from Google Drive on a website?

A client of mine has uploaded some photos to their Google Drive and would like me to display their photos on their company website. I reviewed the documentation for displaying Google Drive content on a web page, but it appears that this is simply the instructions for displaying the contents on a web page, which it already does.

My question is, how do I display the contents directly on the client's web page?

like image 767
forrest Avatar asked Mar 21 '13 20:03

forrest


People also ask

How do I use a Google Drive image in HTML and on a website?

Upload your image to google drive. Share your image from the sharing option. Copy your sharing link (Sample: https://drive.google.com/file/d/14hz3ySPn-zBd4Tu3NtY1F05LSGdFfWvp/view?usp=sharing) Copy the id from your link, in the above link, the id is: 14hz3ySPn-zBd4Tu3NtY1F05LSGdFfWvp.

Can you use Google Drive to host images for website?

Upload images to the Google Driver platform. Once the image has been uploaded, click on the image itself then click Share or Get Link. Example: This screenshot highlights the Get link option.


1 Answers

Use the 'Get Link' option in Google Drive to get the URL.

Use <img> tag in HTML and paste the link in there.

Change Open? in the URL to uc?.

like image 188
Richard Avatar answered Sep 27 '22 16:09

Richard