AppsScript-在HtmlService中使用来自Google云端硬盘的图片 [英] AppsScript- Using an image from Google Drive in HtmlService

查看:82
本文介绍了AppsScript-在HtmlService中使用来自Google云端硬盘的图片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以下文件的图片部分

https://developers.google.com/apps-script/html_service



表示只有公开网址上托管的图片可以显示到图像代理的使用)。



这是否适用于存储在用户的谷歌驱动器中的图像?
有没有什么方法可以像HtmlService元素一样使用这些图片?

解决方案

还没有办法做到你在问。


The Images section of the following document

https://developers.google.com/apps-script/html_service

says that only images hosted on a public url can be displayed (due to the use of the image proxy).

Does that apply to images stored in the user's google drive? Is there any way to use such images as HtmlService elements?

解决方案

There is not yet a way to do what you are asking.

这篇关于AppsScript-在HtmlService中使用来自Google云端硬盘的图片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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