Google Script sidebar images

Viewed 151

I am creating a google add-on toolbar with google script. The point of the app is for users to click on some pre-set images in the sidebar that will add them to the google doc. Is there any way to add images to the project folder?

Thanks!

1 Answers

You can host image urls in your drive and link them using webContent link: <img src="[DRIVE webContent Link]">.

Alternatively, If the images are small, You can directly save the dataURIs in project folder.

Related