从Google驱动器嵌入图像而没有灰色边框和缩放工具? [英] Embed image from google drive without grey border and zooming tools?
问题描述
我有一个网页,该网页的图像存储在google驱动器中,使用google驱动器嵌入代码会导致以下结果-
I have a webpage that has an image that is stored in google drive, and using the google drive embed code results in this-
,并且我想将此图片包含在我的网站中,没有边框和工具,使其看起来像这样-
and I want to include this image in my website without the border and tools, making it look like this-
将图像文件添加到我的项目中不是一种选择,因为我使用Google Apps脚本作为网络域,因为我还不够老,没有信用卡可以购买REAL网络域,因此我破产了,不能简单地耙由于COVID而离开或铲车道.所以我不能将图像文件添加到我的项目中,有什么建议吗?
Adding the image file to my project is not an option, as I am using google apps script as web domain as I am not old enough to have a credit card to purchase REAL web domain, and I am broke and cannot simply rake leaves or shovel driveways because of COVID. so I cannot add the image file to my project, any advice?
推荐答案
答案:
使用查看链接代替嵌入代码.
<img src="https://drive.google.com/uc?export=view&id=FILE_ID_HERE">
希望对您有帮助!
这篇关于从Google驱动器嵌入图像而没有灰色边框和缩放工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!