i trying use image from google drive at my html-page, i shared image and copied link to file.
and pasted it to image tag:
<img ng-src="https://drive.google.com/open?id=0B0etQtBsI2KmVGVmYjNOSS15VVk" />
但它不显示:
也许有人知道我该如何解决它?感谢您的回答!
那是行不通的,您使用的链接是一个 html 页面。
摘自问题在网站上显示存储在 Google 云端硬盘中的文件(例如图像) https://stackoverflow.com/questions/10311092/displaying-files-e-g-images-stored-in-google-drive-on-a-website
更换open
链接的一部分uc
它会起作用的。它将成为<img src="https://drive.google.com/uc?id=0B0etQtBsI2KmVGVmYjNOSS15VVk" />
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)