I am trying to have a gallery element automatically update using a referenced google drive folder that contains all the media that will go into the gallery. how would I accomplish this using code? I’m really trying to avoid having to manually update the folder whenever someone adds more files to the folder.
I have created a test folder for testing which you are welcome to use for testing purposes. I appreciate any help people can offer.
If your goal is to simply display all the images from the folder on your live site in real time, then you don’t need a Gallery field in your CMS for this.
All you require is the Google Drive folder link (which you have already), along with code that will have to be added in your Wix site page, as well as inside a Google Apps Script project.
Remember that your folder should be set to “Anyone with the link” so that the contents within the folder can be displayed on your site through your Apps Script.
1 Like
