AppsScript- Using an image from Google Drive in HtmlService

google-apps-script, html, image

Solution

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

Problem

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?

Original source