# How can I view the most recent image in my firebase to my thunkable app?

**URL:** https://community.thunkable.com/t/how-can-i-view-the-most-recent-image-in-my-firebase-to-my-thunkable-app/2336001
**Category:** Questions about Thunkable X
**Tags:** firebase, beginner, image, help
**Created:** [March 21, 2023, 3:17pm UTC](https://community.thunkable.com/t/how-can-i-view-the-most-recent-image-in-my-firebase-to-my-thunkable-app/2336001 "2023-03-21T15:17:39Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![marcanthonychristoph](https://avatars.discourse-cdn.com/v4/letter/m/e9a140/32.png) [@marcanthonychristoph](https://community.thunkable.com/u/marcanthonychristoph)
#### Post date: [March 21, 2023, 3:17pm UTC](https://community.thunkable.com/t/how-can-i-view-the-most-recent-image-in-my-firebase-to-my-thunkable-app/2336001/1 "2023-03-21T15:17:39Z")

</div>

I have been searching the forums and I was not able to find any sort of solution to my problem. Is there any way to view the most recent image in my firebase storage/database to my application in thunkable? I have tried this and it still does not work.

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/d/ad60797777145ca3ea490df44095d2a981232e5f.png)

---

<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 21, 2023, 10:17pm UTC](https://community.thunkable.com/t/how-can-i-view-the-most-recent-image-in-my-firebase-to-my-thunkable-app/2336001/2 "2023-03-21T22:17:57Z")

</div>

Firebase as far as I know doesn’t do any sorting automatically, except for the name of each node. So you can either name your nodes with the date and time in a way that auto-sorts the entries or you can include a key:value pair that you can use as a sort term such as `dateTime:2008-03-09T16:05:07`. But then you’d need to do the sorting in Thunkable using a loop. What about just saving the path (cloud variable “\_\_\_\_\_”) to the last image when you upload it? And then you can put that in a stored variable and recall it when needed? That’s easiest if you truly only need the most recent image stored in Firebase.

---

<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 19, 2023, 10:18pm UTC](https://community.thunkable.com/t/how-can-i-view-the-most-recent-image-in-my-firebase-to-my-thunkable-app/2336001/3 "2023-06-19T22:18:23Z")

</div>

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