# Retrieving Images from Airtable

**URL:** https://community.thunkable.com/t/retrieving-images-from-airtable/539590
**Category:** Questions about Thunkable X
**Created:** [March 27, 2020, 7:37pm UTC](https://community.thunkable.com/t/retrieving-images-from-airtable/539590 "2020-03-27T19:37:33Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![qaburns014w](https://avatars.discourse-cdn.com/v4/letter/q/58956e/32.png) [@qaburns014w](https://community.thunkable.com/u/qaburns014w)
#### Post date: [March 27, 2020, 7:37pm UTC](https://community.thunkable.com/t/retrieving-images-from-airtable/539590/1 "2020-03-27T19:37:33Z")

</div>

In my app, I’m storing an image in the form of a url in my Airtable database. I am able to retrieve it and display it, however after a few days go by it doesn’t display anymore. Why does this happen?

This is the code for how I inputted the picture into my Airtable:

 ![Screen Shot 2020-03-27 at 1.24.38 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/b/2ba8b72395056847e4085f1e905c7f13e562a662.png)

This is the code for how I retrieved the picture:  
 ![Screen Shot 2020-03-27 at 1.22.25 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/d/2db8a571b6380edc40595fee2f4f3f3f2aefce4a.png)

---

<div class="post-metadata">

### Author: ![kartik14](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik14/32/44782_2.png) [@kartik14](https://community.thunkable.com/u/kartik14)
#### Post date: [March 28, 2020, 5:03am UTC](https://community.thunkable.com/t/retrieving-images-from-airtable/539590/2 "2020-03-28T05:03:35Z")

</div>

Hi, @qaburns014w! 👋

* * *

I see, ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/2/c2b64c6bbc8015d29665485d9c73faebcb93bd14.png) that you are using a stored block for the URL of the image.

Can you please post the blocks where you set the stored photo variable?

* * *

Also, I cannot find any bug in your provided code.

Thanks! 😊

---

<div class="post-metadata">

### Author: ![qaburns014w](https://avatars.discourse-cdn.com/v4/letter/q/58956e/32.png) [@qaburns014w](https://community.thunkable.com/u/qaburns014w)
#### Post date: [April 2, 2020, 11:43pm UTC](https://community.thunkable.com/t/retrieving-images-from-airtable/539590/3 "2020-04-02T23:43:11Z")

</div>

This is how I got the photo from the user:

 ![Screen Shot 2020-04-02 at 5.28.12 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/d/bd6680dd1f29203bfbae9a657da60e792b74e72d.png)

---

<div class="post-metadata">

### Author: ![qaburns014w](https://avatars.discourse-cdn.com/v4/letter/q/58956e/32.png) [@qaburns014w](https://community.thunkable.com/u/qaburns014w)
#### Post date: [April 16, 2020, 2:11am UTC](https://community.thunkable.com/t/retrieving-images-from-airtable/539590/4 "2020-04-16T02:11:30Z")

</div>

Can someone help me? Never got an answer for this issue.

---

<div class="post-metadata">

### Author: ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)
#### Post date: [April 16, 2020, 2:21am UTC](https://community.thunkable.com/t/retrieving-images-from-airtable/539590/5 "2020-04-16T02:21:48Z")

</div>

How long can it be viewed for? If it displays, and then stops. Is there some action overwriting it by chance?

---

<div class="post-metadata">

### Author: ![qaburns014w](https://avatars.discourse-cdn.com/v4/letter/q/58956e/32.png) [@qaburns014w](https://community.thunkable.com/u/qaburns014w)
#### Post date: [April 17, 2020, 11:05pm UTC](https://community.thunkable.com/t/retrieving-images-from-airtable/539590/6 "2020-04-17T23:05:56Z")

</div>

I’m able to view the picture for a day or two then nothing shows up after that. There’s nothing that overrides it. When I look in the table the value is still there.  
 ![Screen Shot 2020-04-17 at 4.49.48 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/2/5278a5fa80e87060b31ef66bf0571b80b9fb4ad0.png)

---

<div class="post-metadata">

### Author: ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)
#### Post date: [April 17, 2020, 11:26pm UTC](https://community.thunkable.com/t/retrieving-images-from-airtable/539590/7 "2020-04-17T23:26:20Z")

</div>

Is the photo on the phone?

---

<div class="post-metadata">

### Author: ![qaburns014w](https://avatars.discourse-cdn.com/v4/letter/q/58956e/32.png) [@qaburns014w](https://community.thunkable.com/u/qaburns014w)
#### Post date: [April 18, 2020, 2:55am UTC](https://community.thunkable.com/t/retrieving-images-from-airtable/539590/8 "2020-04-18T02:55:39Z")

</div>

No I have been taking the photo.

---

<div class="post-metadata">

### Author: ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)
#### Post date: [April 18, 2020, 3:11am UTC](https://community.thunkable.com/t/retrieving-images-from-airtable/539590/9 "2020-04-18T03:11:26Z")

</div>

Where is the image stored I mean. That looks like it’s local storage on the phone because of the file path

---

<div class="post-metadata">

### Author: ![kartik14](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik14/32/44782_2.png) [@kartik14](https://community.thunkable.com/u/kartik14)
#### Post date: [April 18, 2020, 3:29am UTC](https://community.thunkable.com/t/retrieving-images-from-airtable/539590/10 "2020-04-18T03:29:07Z")

</div>

Or you might have deleted the photos\*

---

<div class="post-metadata">

### Author: ![qaburns014w](https://avatars.discourse-cdn.com/v4/letter/q/58956e/32.png) [@qaburns014w](https://community.thunkable.com/u/qaburns014w)
#### Post date: [April 19, 2020, 7:28pm UTC](https://community.thunkable.com/t/retrieving-images-from-airtable/539590/11 "2020-04-19T19:28:21Z")

</div>

I want the user to be able to either take a picture or get one from their photos library and my app would save that picture to Airtable. How can I save it differently so it stores the actual .jpg and not a link to a phone. Another user could pull up the app and should be albe to pull up pictures associated with other users. So the photos can’t be tied to local storage.  
Is there a way to do that?

---

<div class="post-metadata">

### Author: ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)
#### Post date: [April 19, 2020, 8:04pm UTC](https://community.thunkable.com/t/retrieving-images-from-airtable/539590/12 "2020-04-19T20:04:50Z")

</div>

You will want to incorporate Cloudinary! Super easy to use and get images from!

---

<div class="post-metadata">

### Author: ![qaburns014w](https://avatars.discourse-cdn.com/v4/letter/q/58956e/32.png) [@qaburns014w](https://community.thunkable.com/u/qaburns014w)
#### Post date: [April 19, 2020, 8:06pm UTC](https://community.thunkable.com/t/retrieving-images-from-airtable/539590/13 "2020-04-19T20:06:07Z")

</div>

I am using cloudinary to store the picture. But maybe I’m not saving the right thing in my Airtable. Also I’m actually not totally sure what the Realtime DB is - I copied some of this code from this website ([https://docs.thunkable.com/media-db](https://docs.thunkable.com/media-db)) a long time ago and I’m not totally sure what this does. Can you look at my code blocks and help me make sure I’m saving the image in cloudinary and then on the post screen, I’m adding the url to cloudinary to firebase.

This is how I got the photo:

 ![Screen Shot 2020-04-19 at 2.10.41 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/1/91638fc9764cede43a9eca429979ded1082f5c35.png)

This is how I saved the photo to Airtable:

 ![Screen Shot 2020-04-19 at 2.11.08 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/9/096c461ca0a600ad8509960cbdb90dd902609b2d.png)

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 11:38am UTC](https://community.thunkable.com/t/retrieving-images-from-airtable/539590/14 "2024-11-08T11:38:52Z")

</div>


