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
- 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
- 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)