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!
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!
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.