# How do I assign images to variables?

**URL:** <https://community.thunkable.com/t/how-do-i-assign-images-to-variables/3038113>\
**Category:** Questions about Thunkable X\
**Tags:** beginner, help\
**Created:** [June 3, 2024, 6:09am UTC](https://community.thunkable.com/t/how-do-i-assign-images-to-variables/3038113 "2024-06-03T06:09:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![brandon.yapbernalyvn](https://avatars.discourse-cdn.com/v4/letter/b/91b2a8/32.png) [@brandon.yapbernalyvn](https://community.thunkable.com/u/brandon.yapbernalyvn)\
**Post date:** [June 3, 2024, 6:09am UTC](https://community.thunkable.com/t/how-do-i-assign-images-to-variables/3038113/1 "2024-06-03T06:09:26Z")

</div>

Hello, I’m a beginner in thunkable. How do I assign an image to a number? For example, when a user presses a button, it will select a random number on a list. When it picks that number, I want it to also display an image associated with the number.

Sorry for the bad grammar, English isn’t my first language

---

<div class="post-metadata">

**Author:** ![pacecode](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/pacecode/32/209017_2.png) [@pacecode](https://community.thunkable.com/u/pacecode)\
**Post date:** [June 3, 2024, 8:50am UTC](https://community.thunkable.com/t/how-do-i-assign-images-to-variables/3038113/2 "2024-06-03T08:50:19Z")

</div>

You can use Image URLs, as they are in String Form.

> **[Media DB by Cloudinary | Snap to Place | Thunkable Docs](https://docs.thunkable.com/v/snap-to-place/media-db)**

* * *

Want to hire a Certified Thunkable Expert? [Whoocoder | Thunkable Expert | Order Now On Fiver!!](https://pro.fiverr.com/certified/thunkable?utm_source=fiverr_certified&utm_medium=homepage&utm_campaign=certified_home&service=thunkable-project&active_expert_id=147498421)

---

<div class="post-metadata">

**Author:** ![brandon.yapbernalyvn](https://avatars.discourse-cdn.com/v4/letter/b/91b2a8/32.png) [@brandon.yapbernalyvn](https://community.thunkable.com/u/brandon.yapbernalyvn)\
**Post date:** [June 3, 2024, 9:36am UTC](https://community.thunkable.com/t/how-do-i-assign-images-to-variables/3038113/3 "2024-06-03T09:36:46Z")

</div>

Thanks!

---

<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:** [September 1, 2024, 9:37am UTC](https://community.thunkable.com/t/how-do-i-assign-images-to-variables/3038113/4 "2024-09-01T09:37:15Z")

</div>

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