Vladimir Khodakovskey Vladimir Khodakovskey - 4 months ago 22
HTML Question

How to displayimage from google drive at page.html?

i trying use image from google drive at my html-page, i shared image and copied link to file.
enter image description here
and pasted it to image tag:

<img ng-src="https://drive.google.com/open?id=0B0etQtBsI2KmVGVmYjNOSS15VVk" />


but it don't displays:

enter image description here

may be somebody knows how i can resolve it ? Thanks for your answers!

Answer

That won't work, the link you are using is an html page.

Taken from question Displaying files (e.g. images) stored in Google Drive on a website

Replace the open part of the link with uc and it will work. It will become <img src="https://drive.google.com/uc?id=0B0etQtBsI2KmVGVmYjNOSS15VVk" />