Randomized picture, every time a refresh happens

Hey Wix, I am making a column with a picture in it, on my website - and the point is that every time a person refreshes the site, a new picture comes up - I have tried to code it, but here is what it says: “‘src’ does not exist on ’ #columnStrip3 '” - Here is the code: https://gyazo.com/03056d40a32567868c4600e884a5d770

Hope you can help! :smiley:

The problem is that a ColumnStrip does not have a src proper (as stated in the error message). You can either add a $w.Image component to the ColumnStrip to display the picture, or use the background property of the ColumnStrip.

But, if I use the background property, how do I then get it to use the collection of images, that I have?

After you do a query of your Images collection, set the background property to the image that’s returned in the query.