我无法在我的网站上插入 Google 云端硬盘中的文件

问题描述 投票:0回答:1

我在 Google Drive 中存储了图像和视频文件,并通过以下代码将其插入到我的网站中:

https://drive.google.com/uc?export=download&id={文件 ID}

但是已经好几天没用了。

我正在尝试查找新代码以在我的网站上插入 Google 云端硬盘文件。有谁知道新密码吗?

cloud drive
1个回答
0
投票

这是一个解决方法,但不知道它能持续多久。 最好的选择是将图像托管在其他地方,因为谷歌服务不可靠,并且 当你遇到问题时,你会给谁打电话?

    <body>
      <!-- Thumbnail link with a larger width -->
      <img src="https://drive.google.com/thumbnail?id=1BEW9tkgVKlp_ebUc17LkXDH-mnPc4ome&sz=w1000" alt="Your Image Alt Text">
    
      <!-- Thumbnail link without width -->
      <img src="https://drive.google.com/thumbnail?id=1BEW9tkgVKlp_ebUc17LkXDH-mnPc4ome" alt="Your Image Alt Text">
    </body>

来源

© www.soinside.com 2019 - 2024. All rights reserved.