Referencing Images in an Array


I’m look for a way to reference image paths for images that I have in a JavaScript array using custom code. The end goal is to have one image be replaced randomly by another at a specific time of day.

The code works outside of Webflow in testing, but I don’t know how to set the paths of these images once uploaded to Webflow.

Thanks in advance if anyone has come across a solution.

Here is my site Read-Only: LINK
(how to share your site Read-Only link)

hi @carlsoto I presume your images are uploaded in WF “assets” folder. If yes, click on image cog wheel to open the image info and click on link the get image URL.