# A Questions about database

**URL:** https://community.thunkable.com/t/a-questions-about-database/2085524
**Category:** Questions about Thunkable X
**Tags:** beginner
**Created:** [October 16, 2022, 5:59pm UTC](https://community.thunkable.com/t/a-questions-about-database/2085524 "2022-10-16T17:59:18Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![him\_isme](https://avatars.discourse-cdn.com/v4/letter/h/45deac/32.png) [@him\_isme](https://community.thunkable.com/u/him_isme)
#### Post date: [October 16, 2022, 5:59pm UTC](https://community.thunkable.com/t/a-questions-about-database/2085524/1 "2022-10-16T17:59:18Z")

</div>

Dear everyone… I hope everyone always feel blessed.

I’m new in thunkable !

I want tell you something about my project.  
i’m creating a project in thunkable which to insert some images in Data Viewer Grid.

I want my app working offline. if the app is already using by users, maybe i want to add some images to the app without re-create the project.

I have an argument here:  
“If I create a database of images in a spreadsheet, and connect this with thunkable, will the user later need to run my app online?”

is there any other way so I can add more images to my app and the user doesn’t need to be online to use my app?

---

<div class="post-metadata">

### Author: ![krish05](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/krish05/32/200523_2.png) [@krish05](https://community.thunkable.com/u/krish05)
#### Post date: [October 16, 2022, 7:33pm UTC](https://community.thunkable.com/t/a-questions-about-database/2085524/2 "2022-10-16T19:33:20Z")

</div>

Hi Abdul

Check in the Device section on Blocks tab, and get `device is online?`. Then, grab an `if` block from Controls and set condition as:

> if `device is online` = `false` then

Do whatever it has to do.

Make sure it is under a `forever` loop

---

<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: [October 16, 2022, 8:02pm UTC](https://community.thunkable.com/t/a-questions-about-database/2085524/3 "2022-10-16T20:02:46Z")

</div>

You have a choice to make:

1. Host images online (e.g. Cloudinary) and store their urls in the cloud (e.g. Airtable, Google Sheets). When the app is online, have it download the images to the device.

OR

1. Add the images to the project and use the app offline entirely. I would probably go with this option unless you need to do a lot of changing/updating of images.

---

<div class="post-metadata">

### Author: ![him\_isme](https://avatars.discourse-cdn.com/v4/letter/h/45deac/32.png) [@him\_isme](https://community.thunkable.com/u/him_isme)
#### Post date: [October 17, 2022, 4:02am UTC](https://community.thunkable.com/t/a-questions-about-database/2085524/4 "2022-10-17T04:02:24Z")

</div>

i owe you on @krish0 🙏

I’ll try it soon. I’ll greet you back later. Thank you !

---

<div class="post-metadata">

### Author: ![him\_isme](https://avatars.discourse-cdn.com/v4/letter/h/45deac/32.png) [@him\_isme](https://community.thunkable.com/u/him_isme)
#### Post date: [October 17, 2022, 4:21am UTC](https://community.thunkable.com/t/a-questions-about-database/2085524/5 "2022-10-17T04:21:51Z")

</div>

Thanks a lot @tatiang 😌

I will try to discuss it with my supervisor to choose the best one. If you don’t mind, i would to ask you another time. 🙏

---

<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: [October 17, 2022, 5:07am UTC](https://community.thunkable.com/t/a-questions-about-database/2085524/6 "2022-10-17T05:07:19Z")

</div>

Of course! It’s helpful to include more details about what you are trying to do or what you have already tried when you ask the next question.

---

<div class="post-metadata">

### Author: ![him\_isme](https://avatars.discourse-cdn.com/v4/letter/h/45deac/32.png) [@him\_isme](https://community.thunkable.com/u/him_isme)
#### Post date: [October 17, 2022, 6:02am UTC](https://community.thunkable.com/t/a-questions-about-database/2085524/7 "2022-10-17T06:02:36Z")

</div>

Dear @krish0

Based on a solution you gave to me. Does it mean that users still have to use an internet connection to operate my application? especially shown the image?

---

<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: [October 17, 2022, 6:59am UTC](https://community.thunkable.com/t/a-questions-about-database/2085524/8 "2022-10-17T06:59:22Z")

</div>

The `device is online?` block just returns true if the device is connected to the Internet and false if it is not. It doesn’t do anything else. So you still need to consider the choices I provided and see what fits your needs.

Documentation for that block: [Device - Thunkable Docs](https://docs.thunkable.com/device#get-online-offline-status)

---

<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: [January 15, 2023, 6:59am UTC](https://community.thunkable.com/t/a-questions-about-database/2085524/9 "2023-01-15T06:59:53Z")

</div>

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