AppsScript- Using an image from Google Drive in HtmlService

前端 未结 3 823
南旧
南旧 2021-01-21 19:42

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 displaye

3条回答
  •  攒了一身酷
    2021-01-21 20:22

    It sounds like you're trying to offer some sort of permalink from Google Drive that is publicly accessible.

    • Open the File.

    • Under the File Menu, Click Sharing.

    • Under "Who has access", click Change. private

    • Select "Public on the web". sharing options

    • Click done, and copy the link listed. That is your publicly available link which should work for you. public link

提交回复
热议问题