# It takes a long time to upload or retrieve images from Cloudinary

**URL:** <https://community.thunkable.com/t/it-takes-a-long-time-to-upload-or-retrieve-images-from-cloudinary/563814>\
**Category:** Questions about Thunkable X\
**Created:** [April 21, 2020, 1:43am UTC](https://community.thunkable.com/t/it-takes-a-long-time-to-upload-or-retrieve-images-from-cloudinary/563814 "2020-04-21T01:43:51Z")\
**Posts on this page:** 12\
**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:** [April 21, 2020, 1:43am UTC](https://community.thunkable.com/t/it-takes-a-long-time-to-upload-or-retrieve-images-from-cloudinary/563814/1 "2020-04-21T01:43:51Z")

</div>

I am uploading images to Cloudinary so I can then save the link to those in my airtable. The upload has a very long lag. So long that I had to add a mesage on my screen telling the user or else they could think the screen was unresponsive. Is this normal? Or is there a way to fix that?

Here is my code for getting the picture and uploading it into Cloudinary:

 ![Screen Shot 2020-04-20 at 7.27.13 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/e/9e2be1309bb1c8e5a5f970a8df93a6c174245610.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 21, 2020, 3:16am UTC](https://community.thunkable.com/t/it-takes-a-long-time-to-upload-or-retrieve-images-from-cloudinary/563814/2 "2020-04-21T03:16:08Z")

</div>

Can you use the image transformation service to decrease the size/quality of the photo so it can transmit quicker?

---

<div class="post-metadata">

**Author:** ![justin.thanh84v20](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/justin.thanh84v20/32/67711_2.png) [@justin.thanh84v20](https://community.thunkable.com/u/justin.thanh84v20)\
**Post date:** [April 21, 2020, 2:05pm UTC](https://community.thunkable.com/t/it-takes-a-long-time-to-upload-or-retrieve-images-from-cloudinary/563814/3 "2020-04-21T14:05:04Z")

</div>

yeah actually it take long time to upload to cloud,  
but you can modify the url in Airtable with this formula to scale down the photo CONCATENATE({LEFT(url,49)},“c\_scale,w\_1024”,{RIGHT(url,37)})  
the idea is scale the photo with new url  
ex:  
from url [http://res.cloudinary.com/dg8dlonrs/image/upload/v1587448993/zlz4jj2k0qhtiz4q7jnp.jpg](http://res.cloudinary.com/dg8dlonrs/image/upload/v1587448993/zlz4jj2k0qhtiz4q7jnp.jpg)  
to url [http://res.cloudinary.com/dg8dlonrs/image/upload/c\_scale,w\_1024/v1587448993/zlz4jj2k0qhtiz4q7jnp.jpg](http://res.cloudinary.com/dg8dlonrs/image/upload/c_scale,w_1024/v1587448993/zlz4jj2k0qhtiz4q7jnp.jpg)

don’t need to you any service 🙂

---

<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 21, 2020, 2:07pm UTC](https://community.thunkable.com/t/it-takes-a-long-time-to-upload-or-retrieve-images-from-cloudinary/563814/4 "2020-04-21T14:07:15Z")

</div>

nice fix!

---

<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 21, 2020, 9:28pm UTC](https://community.thunkable.com/t/it-takes-a-long-time-to-upload-or-retrieve-images-from-cloudinary/563814/6 "2020-04-21T21:28:54Z")

</div>

How do I reduce the size of the image before uploading it into Cloudinary? Can you show me code?

---

<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 21, 2020, 9:42pm UTC](https://community.thunkable.com/t/it-takes-a-long-time-to-upload-or-retrieve-images-from-cloudinary/563814/7 "2020-04-21T21:42:21Z")

</div>

This I would like to know too. My iPhone 11 default camera quality takes pictures with a high file size. They take up to 10. Usually around 4-6 Seconds to send to cloudinary

I save the media url to airtable for fast recall

---

<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 22, 2020, 5:01am UTC](https://community.thunkable.com/t/it-takes-a-long-time-to-upload-or-retrieve-images-from-cloudinary/563814/8 "2020-04-22T05:01:29Z")

</div>

I just implemented this in my public airtable example. it’s great. the uploading of photos is slow. but getting them back is a breeze!

---

<div class="post-metadata">

**Author:** ![justin.thanh84v20](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/justin.thanh84v20/32/67711_2.png) [@justin.thanh84v20](https://community.thunkable.com/u/justin.thanh84v20)\
**Post date:** [April 22, 2020, 5:07am UTC](https://community.thunkable.com/t/it-takes-a-long-time-to-upload-or-retrieve-images-from-cloudinary/563814/9 "2020-04-22T05:07:00Z")

</div>

haha good to know,  
it load faster and you can scale any size you want, just edit the url

---

<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 22, 2020, 5:13am UTC](https://community.thunkable.com/t/it-takes-a-long-time-to-upload-or-retrieve-images-from-cloudinary/563814/10 "2020-04-22T05:13:15Z")

</div>

yes! awesome trick! thank you!!

---

<div class="post-metadata">

**Author:** ![versatile](https://avatars.discourse-cdn.com/v4/letter/v/c68b51/32.png) [@versatile](https://community.thunkable.com/u/versatile)\
**Post date:** [August 15, 2022, 1:56am UTC](https://community.thunkable.com/t/it-takes-a-long-time-to-upload-or-retrieve-images-from-cloudinary/563814/11 "2022-08-15T01:56:29Z")

</div>

I don’t really get this?  
Where do I enter the scaling text you’ve provided

---

<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:** [August 15, 2022, 2:30am UTC](https://community.thunkable.com/t/it-takes-a-long-time-to-upload-or-retrieve-images-from-cloudinary/563814/12 "2022-08-15T02:30:32Z")

</div>

You’re probably not going to get a response from a topic that is two years old but I can tell you that the url modification happens when you are retrieving the image from Cloudinary. So this does NOT help with reducing upload sizes but it does help with reducing download sizes from Cloudinary.

---

<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/it-takes-a-long-time-to-upload-or-retrieve-images-from-cloudinary/563814/13 "2024-11-08T11:38:49Z")

</div>


