Ask coding questions

← Back to all posts
How to add images from google drive to html file
mralam4769 (5)

I have an image on google drive and i have shared it so anyone can find it and view it. Here is the link:

I have created a simple html file and put this image in it but it does not seem to work.

I have found an example use of adding images using html on but my version does not work when the image is on google drive any reason for this?

HarryFoongZheng (3)

How do I sinc my google drive to reap because all of my code is on google drive

Vandesm14 (2752)

You can either upload them manually or use imgur or imagebin.

SamuelWaller1 (0)

The image on your drive isn't an image file, it is the google drive page with the image on it. The <img> tag is trying to take the entire page as an image. To fix this,
use this URL instead.:

This just the image, not a page with the image in it. Hope this helps!

Giothecoder (141)

Maybe just save the image to your device, then download it, then delete it from you device if you’re so inclined.