我想使用src属性在google apps脚本中显示图像。我把文件夹ID和路径。但图像无法显示。我在这里分享了文件夹。如何在谷歌应用程序脚本中使用<img src >
谢谢你的帮助!
https://drive.google.com/drive/folders/0ByNw-B9nXMcbMkxHTGt2X2xUTzQ
function doGet() {
var html = HtmlService.createTemplateFromFile('index').evaluate()
.setTitle('picture').setSandboxMode(HtmlService.SandboxMode.NATIVE);
return html;
}
<!DOCTYPE html>
<html>
<head>
<base target="_top">
</head>
<body>
<p> Dispaly picture </p>
<p><img src="https://drive.google.com/drive/folders/0ByNw-B9nXMcbMkxHTGt2X2xUTzQ/200w.gif"> </p>
</body>
</html>