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?
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.
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.
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?
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With