DEV Community

Cover image for Image source from Google Drive
Karlo Dela Rosa
Karlo Dela Rosa

Posted on

Image source from Google Drive

This is just a short document on how we will use google drive images in <img> tag.

This is a working solution as of this day. I posted this answer in Stackoverflow last October 2020.

Steps

  1. Upload your image to google drive.
  2. Share your image from the sharing option.
  3. Copy your sharing link (Sample: https://drive.google.com/file/d/14hz3ySPn-zBd4Tu3NtY1F05LSGdFfWvp/view?usp=sharing)
  4. Copy the id from your link, in the above link, the id is: 14hz3ySPn-zBd4Tu3NtY1F05LSGdFfWvp
  5. Have a look at the below link and replace the ID. https://drive.google.com/thumbnail?id=1jNWSPr_BOSbm7iIJQTTbl7lXX06NH9_r

After Replace ID: https://drive.google.com/thumbnail?id=14hz3ySPn-zBd4Tu3NtY1F05LSGdFfWvp

Now insert the link to your <img> tag.

Top comments (0)