Problem with image tag

I’m using below code on CodePen to have an image from my google drive, however it doesn’t work.

    <img id="image" src="">

What I see as result is as below:

Anyone can help?

When you access the image url, Google Drive returns automatically the viewer webpage instead of image alone. I don’t know if it is possible to avoid this behavior for Gdrive but I know that you can trick Dropbox


Search for “google drive image hosting” here in the forum. The topic has been discussed many times in the past.

1 Like

Thanks Matteo
I found it on stackoverflow, but the way you advised me to search was really helpful.

<img id="image" src="">
1 Like