# \[Solved\] How can I retrieve a URL from Firebase for use in an image?

**URL:** <https://community.thunkable.com/t/solved-how-can-i-retrieve-a-url-from-firebase-for-use-in-an-image/1784040>\
**Category:** Questions about Thunkable X\
**Created:** [March 14, 2022, 8:47pm UTC](https://community.thunkable.com/t/solved-how-can-i-retrieve-a-url-from-firebase-for-use-in-an-image/1784040 "2022-03-14T20:47:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ingraulbarbosa70a](https://avatars.discourse-cdn.com/v4/letter/i/2bfe46/32.png) [@ingraulbarbosa70a](https://community.thunkable.com/u/ingraulbarbosa70a)\
**Post date:** [March 14, 2022, 8:47pm UTC](https://community.thunkable.com/t/solved-how-can-i-retrieve-a-url-from-firebase-for-use-in-an-image/1784040/1 "2022-03-14T20:47:35Z")

</div>

Hello All,

I hope you are good.

One quesiton, its posible to charge the imagens into the app from a realtime data base?

If it´s possible, how can i built? I have ready with the realtime data base and the app.

Before hand, thank you for your time and support.

---

<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:** [March 14, 2022, 10:19pm UTC](https://community.thunkable.com/t/solved-how-can-i-retrieve-a-url-from-firebase-for-use-in-an-image/1784040/2 "2022-03-14T22:19:25Z")

</div>

Sure. Just set the background picture to the image’s url using the Get Value block in the Data Source drawer.

If you need more help, post a screenshot of what you have tried.

---

<div class="post-metadata">

**Author:** ![ingraulbarbosa70a](https://avatars.discourse-cdn.com/v4/letter/i/2bfe46/32.png) [@ingraulbarbosa70a](https://community.thunkable.com/u/ingraulbarbosa70a)\
**Post date:** [March 14, 2022, 10:46pm UTC](https://community.thunkable.com/t/solved-how-can-i-retrieve-a-url-from-firebase-for-use-in-an-image/1784040/3 "2022-03-14T22:46:39Z")

</div>

Hello, thank you for your quick response

The target is make an app with imagens that in the future can i change or refresh with others, without a new version app (with a realtime data base).

i have this

 ![example](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/a/4a7c995a6e9f7c1ee09adcb77cdd7a941ba4c309.png)

I have a file name and the Url. what blocks should i select?

Thank you so much!

---

<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:** [March 14, 2022, 11:36pm UTC](https://community.thunkable.com/t/solved-how-can-i-retrieve-a-url-from-firebase-for-use-in-an-image/1784040/4 "2022-03-14T23:36:17Z")

</div>

Sorry, I mentioned the Get Value block but for Firebase you’ll need to use cloud variables.

At the bottom of the Variables drawer is a block that you can use to get a cloud variable (it will first show “app” variable) from a firebase path.

So you’ll **set background picture to cloud variable "a1/logo"**

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/3/93e089bb116e2743a8300065c897070b3ddcc689.png)

---

<div class="post-metadata">

**Author:** ![ingraulbarbosa70a](https://avatars.discourse-cdn.com/v4/letter/i/2bfe46/32.png) [@ingraulbarbosa70a](https://community.thunkable.com/u/ingraulbarbosa70a)\
**Post date:** [March 16, 2022, 1:57pm UTC](https://community.thunkable.com/t/solved-how-can-i-retrieve-a-url-from-firebase-for-use-in-an-image/1784040/5 "2022-03-16T13:57:04Z")

</div>

Hello tatiang

Thank you so much, this works!

Nice day

---

<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:** [June 14, 2022, 1:57pm UTC](https://community.thunkable.com/t/solved-how-can-i-retrieve-a-url-from-firebase-for-use-in-an-image/1784040/6 "2022-06-14T13:57:11Z")

</div>

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