# Can I use MediaDB in the new UI?

**URL:** https://community.thunkable.com/t/can-i-use-mediadb-in-the-new-ui/1040715
**Category:** Questions about Thunkable X
**Tags:** draganddrop
**Created:** [December 18, 2020, 4:27am UTC](https://community.thunkable.com/t/can-i-use-mediadb-in-the-new-ui/1040715 "2020-12-18T04:27:22Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![Tina\_Fountain](https://avatars.discourse-cdn.com/v4/letter/t/7cd45c/32.png) [@Tina\_Fountain](https://community.thunkable.com/u/Tina_Fountain)
#### Post date: [December 18, 2020, 4:27am UTC](https://community.thunkable.com/t/can-i-use-mediadb-in-the-new-ui/1040715/1 "2020-12-18T04:27:22Z")

</div>

Loving the new features, however, it’s very laggy for me right now. Are you doing away with the media BD? I was using that to upload images and obtain URL’s.

---

<div class="post-metadata">

### Author: ![paulmw](https://avatars.discourse-cdn.com/v4/letter/p/22d042/32.png) [@paulmw](https://community.thunkable.com/u/paulmw)
#### Post date: [December 18, 2020, 4:09pm UTC](https://community.thunkable.com/t/can-i-use-mediadb-in-the-new-ui/1040715/2 "2020-12-18T16:09:31Z")

</div>

@Tina_Fountain You can use the new “url from uploaded file” block to obtain URLs for uploaded images.

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

Then at the bottom of Project Settings, you can input your cloudinary credentials.

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

---

<div class="post-metadata">

### Author: ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)
#### Post date: [December 21, 2020, 9:37pm UTC](https://community.thunkable.com/t/can-i-use-mediadb-in-the-new-ui/1040715/3 "2020-12-21T21:37:57Z")

</div>

2 posts were merged into an existing topic: [Is the new UI laggy?](https://community.thunkable.com/t/is-the-new-ui-laggy/1040723/2)

---

<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: [December 21, 2020, 9:41pm UTC](https://community.thunkable.com/t/can-i-use-mediadb-in-the-new-ui/1040715/4 "2020-12-21T21:41:40Z")

</div>

If I use these blocks (legacy) and take a photo as fast as I possibly can, the resulting difference in time from the time I tap the button on my phone in Thunkable Live to the time it updates the label value is anywhere from 7 to 14 seconds.

 ![Screen Shot 2020-12-21 at 1.40.08 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/2/d2149515beae6a227a345d4c4a3896807b908081.png)

---

<div class="post-metadata">

### Author: ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)
#### Post date: [December 23, 2020, 12:04pm UTC](https://community.thunkable.com/t/can-i-use-mediadb-in-the-new-ui/1040715/5 "2020-12-23T12:04:41Z")

</div>

@paulmw & @domhnallohanlon,

Using the web preview on a new 64 bit Dell laptop with Windows 10 on a wifi connection, the camera takes about 4 seconds and cloudinary takes 1-2 second. Note, the camera doesn’t actually prompt, it just take a photo. These results are pretty consistent across multiple trials.  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/d/2d70f877f76f6617c4094522e5c7f0c455d40e0b.png)

Using a Android Live Test on a Galaxy S20 on the same wifi connection, the camera complete time varies from 4-6 second depending on how quick I am to accept the photo. The Cloudinary upload occasionally runs as fast as 3 seconds, but generally takes between 6-12 seconds.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/7/f7c918ff0537cc4f78c245d22c77879e4b0bf086.jpeg).

Building and running the android APK produces similar results.

Running on an ancient iPhone 6 on the same wifi connection, cloudinary times vary from 7-15 seconds (screenshot not included).

These trials would suggest the lag appears on devices and not limited to the Live Test app, but is not present in the preview.

**Blocks**

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/1/019e3d4a07de2de0d2e0a988417afbc172a25833.png)

**Remix of production project**  
[https://x.thunkable.com/copy/a1248f85dae4810d3db212101ba1c54e](https://x.thunkable.com/copy/a1248f85dae4810d3db212101ba1c54e)

---

<div class="post-metadata">

### Author: ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)
#### Post date: [December 23, 2020, 12:36pm UTC](https://community.thunkable.com/t/can-i-use-mediadb-in-the-new-ui/1040715/6 "2020-12-23T12:36:15Z")

</div>

@paulmw, @domhnallohanlon, @tatiang, @Tina_Fountain,

I built a similar app using a beta project. Same hardware as before, on the web preview, the camera takes about 4 seconds and each upload takes about 1.5 seconds.  
**Web Preview**

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/2/b2f79033955638373992c3b9cd098c0eb816f456.png)

The Android Live Test upload takes about 3 seconds per upload across multiple trials

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/3/73f40150b679a123c2efe4fe214b2f45981e61ab.png)

**Blocks**

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/c/bca6d034622eaa0758d0642115e7db0582fce1d4.png)

**Project**  
[https://x.thunkable.com/projectPage/5fe332a508a7d100120865a5](https://x.thunkable.com/projectPage/5fe332a508a7d100120865a5)

So it seems like the beta version of the Media DB is substantially faster than the current implementation for physical devices. If and when the beta issues are resolved, the performance for media DB will be better.

---

<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: [December 23, 2020, 2:44pm UTC](https://community.thunkable.com/t/can-i-use-mediadb-in-the-new-ui/1040715/7 "2020-12-23T14:44:12Z")

</div>

I cant seem to get your above example to work ted, though I am testing on hospital wifi. I will try back later.

I am on an iphone11 with ios 14

---

<div class="post-metadata">

### Author: ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)
#### Post date: [January 6, 2021, 10:31am UTC](https://community.thunkable.com/t/can-i-use-mediadb-in-the-new-ui/1040715/8 "2021-01-06T10:31:47Z")

</div>

3 posts were merged into an existing topic: [Taking photos with Published Web Apps](https://community.thunkable.com/t/taking-photos-with-published-web-apps/1042243/4)

---

<div class="post-metadata">

### Author: ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)
#### Post date: [January 5, 2021, 10:16pm UTC](https://community.thunkable.com/t/can-i-use-mediadb-in-the-new-ui/1040715/10 "2021-01-05T22:16:18Z")

</div>

A post was split to a new topic: [Taking photos with Published Web Apps](https://community.thunkable.com/t/taking-photos-with-published-web-apps/1042243)

---

<div class="post-metadata">

### Author: ![Tina\_Fountain](https://avatars.discourse-cdn.com/v4/letter/t/7cd45c/32.png) [@Tina\_Fountain](https://community.thunkable.com/u/Tina_Fountain)
#### Post date: [December 24, 2020, 2:49am UTC](https://community.thunkable.com/t/can-i-use-mediadb-in-the-new-ui/1040715/11 "2020-12-24T02:49:15Z")

</div>

Brilliant. Thank you. This is going to allow me to teach some very complex designs lower down the school.

---

<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, 12:19pm UTC](https://community.thunkable.com/t/can-i-use-mediadb-in-the-new-ui/1040715/12 "2024-11-08T12:19:29Z")

</div>


