InsertImage(url,x,y)不适用于Google云端硬盘 [英] InsertImage(url,x,y) doesn't work with Google Drive

查看:109
本文介绍了InsertImage(url,x,y)不适用于Google云端硬盘的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将图像保存在Google云端硬盘中,并且希望脚本将其插入电子表格中.但是当我呼叫

I have saved an image in my Google Drive, and I want my script to insert that image into a spreadsheet. But when I call InsertImage(url x,x) with Google Drive URL of the photo, I get an error:

We're sorry, a server error occurred. Please wait a bit and try again. 

如何将这张图片插入电子表格?

How can I insert this image into the spreadsheet?

推荐答案

无法将Google云端硬盘上图片的URL与InsertImage一起使用.

It is not possible to use the URL of an image on Google Drive with InsertImage.

对此有一个未解决的问题,这是功能请求已经有好几年了.为其加注星标以接收更新.

There is an outstanding issue for this, which has been a feature request for several years. Star it to receive updates.

问题145 :insertImage ()不适用于存储在Google文档中的图像

Issue 145: insertImage() doesn't work with images stored on google documents

您需要将图像托管在具有稳定URL的外部服务器上.

You will need to have your image hosted on an external server with stable URLs.

这篇关于InsertImage(url,x,y)不适用于Google云端硬盘的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆