# Show random images from Database

**URL:** <https://community.thunkable.com/t/show-random-images-from-database/2411119>\
**Category:** Questions about Thunkable X\
**Created:** [May 9, 2023, 9:51pm UTC](https://community.thunkable.com/t/show-random-images-from-database/2411119 "2023-05-09T21:51:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![versatile](https://avatars.discourse-cdn.com/v4/letter/v/c68b51/32.png) [@versatile](https://community.thunkable.com/u/versatile)\
**Post date:** [May 9, 2023, 9:51pm UTC](https://community.thunkable.com/t/show-random-images-from-database/2411119/1 "2023-05-09T21:51:45Z")

</div>

Can anyone help me on how to show up to 3 or more random images from Cloudinary in my app at same time when the Home screen opens.  
I’ve brainstormed on how to block it but it’s not working.  
Trust you guys to help me on this

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [May 9, 2023, 10:14pm UTC](https://community.thunkable.com/t/show-random-images-from-database/2411119/2 "2023-05-09T22:14:20Z")

</div>

Create a spreadsheet with all of the urls of the images you want to pick from.

Create four variables called imageURL1, imageURL2, imageURL3, and imageURL4. Create another variable named URL\_list.

When the screen opens, set URL\_list to the list of values for the spreadsheet column. Then set imageURL1 to [get and remove] random list item. Repeat for the other imageURL variables. Assign the four images’ background pictures on your home screen to each of the four imageURL variables.

If you get stuck, post a screenshot of the blocks you’ve tried.

---

<div class="post-metadata">

**Author:** ![versatile](https://avatars.discourse-cdn.com/v4/letter/v/c68b51/32.png) [@versatile](https://community.thunkable.com/u/versatile)\
**Post date:** [May 10, 2023, 4:51am UTC](https://community.thunkable.com/t/show-random-images-from-database/2411119/3 "2023-05-10T04:51:17Z")

</div>

Thank you

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [August 8, 2023, 4:52am UTC](https://community.thunkable.com/t/show-random-images-from-database/2411119/4 "2023-08-08T04:52:10Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
