# Randomized Strip Background

**URL:** <https://forum.wixstudio.com/t/randomized-strip-background/38317>\
**Category:** Ask the community\
**Tags:** question, code\
**Created:** [July 4, 2021, 6:30am UTC](https://forum.wixstudio.com/t/randomized-strip-background/38317 "2021-07-04T06:30:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![grantmore](https://avatars.discourse-cdn.com/v4/letter/g/8797f3/32.png) [@grantmore](https://forum.wixstudio.com/u/grantmore)\
**Post date:** [July 4, 2021, 6:30am UTC](https://forum.wixstudio.com/t/randomized-strip-background/38317/1 "2021-07-04T06:30:49Z")

</div>

Hi there,

I have a collection of film stills that I would like one to randomly display upon loading my homepage.

There was a previous request for the coding to make this happen a few years ago, but I don’t believe anyone ever verified that the provided coding worked.

I am very new when it comes to coding for wix, so apologies ahead of time if I have further questions.

Thank you!

---

<div class="post-metadata">

**Author:** ![J.D](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/j.d/32/7312_2.png) [@J.D](https://forum.wixstudio.com/u/J.D)\
**Post date:** [July 4, 2021, 11:08am UTC](https://forum.wixstudio.com/t/randomized-strip-background/38317/2 "2021-07-04T11:08:02Z")

</div>

Hi,  
Install the data-helpers Velo package (you can find it if next to the backend files)  
There’s a function there to pick up a random record from a collection.

---

<div class="post-metadata">

**Author:** ![alexobc](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/alexobc/32/26207_2.png) [@alexobc](https://forum.wixstudio.com/u/alexobc)\
**Post date:** [July 5, 2021, 1:15am UTC](https://forum.wixstudio.com/t/randomized-strip-background/38317/3 "2021-07-05T01:15:40Z")

</div>

Hey Grant.

Please have a look at this previous forum post: [https://www.wix.com/velo/forum/coding-with-velo/how-to-pull-random-item-from-database](https://www.wix.com/velo/forum/coding-with-velo/how-to-pull-random-item-from-database)

You can also change the strip background as seen here: [https://www.wix.com/velo/reference/$w/columnstrip/background](https://www.wix.com/velo/reference/$w/columnstrip/background)
