# \[Solved\] Can upload image to Cloudinary

**URL:** <https://community.thunkable.com/t/solved-can-upload-image-to-cloudinary/2702578>\
**Category:** Questions about Thunkable X\
**Tags:** beginner\
**Created:** [November 15, 2023, 10:53am UTC](https://community.thunkable.com/t/solved-can-upload-image-to-cloudinary/2702578 "2023-11-15T10:53:29Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![josemiguel.mota6](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/josemiguel.mota6/32/35544_2.png) [@josemiguel.mota6](https://community.thunkable.com/u/josemiguel.mota6)\
**Post date:** [November 15, 2023, 10:53am UTC](https://community.thunkable.com/t/solved-can-upload-image-to-cloudinary/2702578/1 "2023-11-15T10:53:29Z")

</div>

When i try to save a image en cloudinary, for example the next code, it said the path is incorrect. If a use the option to save a image from gallery there is not problem, so Cloudinary is correctly configured.  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/f/ffdcc8634fcc03623f302938f48af2c1d8d098d0.png)

The error message  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/3/f385ba7d681c218ec85bff4adfbbb0521ffe325c.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:** [November 15, 2023, 4:50pm UTC](https://community.thunkable.com/t/solved-can-upload-image-to-cloudinary/2702578/2 "2023-11-15T16:50:56Z")

</div>

1. How are you initializing stored variable lafoto?
2. What happens if you connect `url from uploaded file` to `Foto's Picture` directly without using the variable?

---

<div class="post-metadata">

**Author:** ![josemiguel.mota6](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/josemiguel.mota6/32/35544_2.png) [@josemiguel.mota6](https://community.thunkable.com/u/josemiguel.mota6)\
**Post date:** [November 15, 2023, 5:24pm UTC](https://community.thunkable.com/t/solved-can-upload-image-to-cloudinary/2702578/3 "2023-11-15T17:24:45Z")

</div>

1. I use a store variable to try something different, but if a use the photo.picture is the same
2. The same problem.

---

<div class="post-metadata">

**Author:** ![matt\_conroy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/matt_conroy/32/150843_2.png) [@matt\_conroy](https://community.thunkable.com/u/matt_conroy)\
**Post date:** [November 15, 2023, 5:37pm UTC](https://community.thunkable.com/t/solved-can-upload-image-to-cloudinary/2702578/4 "2023-11-15T17:37:59Z")

</div>

> [@josemiguel.mota6](#):
>
> it said the path is incorrect.

Where are you getting this message? The Thunkable Live app? If so, is this on iOS or Android?

---

<div class="post-metadata">

**Author:** ![josemiguel.mota6](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/josemiguel.mota6/32/35544_2.png) [@josemiguel.mota6](https://community.thunkable.com/u/josemiguel.mota6)\
**Post date:** [November 15, 2023, 5:50pm UTC](https://community.thunkable.com/t/solved-can-upload-image-to-cloudinary/2702578/5 "2023-11-15T17:50:04Z")

</div>

thunkable live app. I try to generate the Android .apk, but the problem is de the same.

---

<div class="post-metadata">

**Author:** ![matt\_conroy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/matt_conroy/32/150843_2.png) [@matt\_conroy](https://community.thunkable.com/u/matt_conroy)\
**Post date:** [November 15, 2023, 5:53pm UTC](https://community.thunkable.com/t/solved-can-upload-image-to-cloudinary/2702578/6 "2023-11-15T17:53:36Z")

</div>

Try uploading the photo like these blocks, where you upload the file and within that then set the picture to the photo and the text to the URL, and use the advanced version of the URL from uploaded file (you can get the advanced version of this block by right-clicking on the block itself and selecting “Show Advanced Block”  
 ![Screenshot 2023-11-15 at 12.51.12 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/7/f736ea80a203ee201803c66209e476bd9c800e4c.png)

---

<div class="post-metadata">

**Author:** ![josemiguel.mota6](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/josemiguel.mota6/32/35544_2.png) [@josemiguel.mota6](https://community.thunkable.com/u/josemiguel.mota6)\
**Post date:** [November 15, 2023, 5:55pm UTC](https://community.thunkable.com/t/solved-can-upload-image-to-cloudinary/2702578/7 "2023-11-15T17:55:42Z")

</div>

Yes, i don’t have problem from the photo library. The problem is to do a photo a send to cloudinary. Another example.  
I get this:  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/2/e2f8e2b56b6d8a298e7426ea727475fc61b23cdb.png)

with this code

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/0/40b76d090ef28e4931a27f8eb6130ef76fe4770c.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:** [November 15, 2023, 8:04pm UTC](https://community.thunkable.com/t/solved-can-upload-image-to-cloudinary/2702578/8 "2023-11-15T20:04:10Z")

</div>

You are assigning two values to the same label (textApellidos). That means you will never see the green `error` block value. Assign the `error` block to a different label and tell us what you see there.

---

<div class="post-metadata">

**Author:** ![josemiguel.mota6](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/josemiguel.mota6/32/35544_2.png) [@josemiguel.mota6](https://community.thunkable.com/u/josemiguel.mota6)\
**Post date:** [November 15, 2023, 10:04pm UTC](https://community.thunkable.com/t/solved-can-upload-image-to-cloudinary/2702578/9 "2023-11-15T22:04:14Z")

</div>

it`s true, but it’s not that.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/6/469add0266457d13dd48daa5317f0cfe327ba260.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:** [November 15, 2023, 10:15pm UTC](https://community.thunkable.com/t/solved-can-upload-image-to-cloudinary/2702578/10 "2023-11-15T22:15:58Z")

</div>

Those blocks are not going to work. You shouldn’t reference a variable name using another variable. You need to use the ‘set app variable lafoto’ block at the **top** of the Variables drawer.

But what we need to see is the error value.

---

<div class="post-metadata">

**Author:** ![josemiguel.mota6](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/josemiguel.mota6/32/35544_2.png) [@josemiguel.mota6](https://community.thunkable.com/u/josemiguel.mota6)\
**Post date:** [November 16, 2023, 8:04am UTC](https://community.thunkable.com/t/solved-can-upload-image-to-cloudinary/2702578/11 "2023-11-16T08:04:20Z")

</div>

This is the error:  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/1/1130a240d00e7bbe93c6a5f3a89446eeb335b1f1.png)

---

<div class="post-metadata">

**Author:** ![josemiguel.mota6](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/josemiguel.mota6/32/35544_2.png) [@josemiguel.mota6](https://community.thunkable.com/u/josemiguel.mota6)\
**Post date:** [November 19, 2023, 5:51pm UTC](https://community.thunkable.com/t/solved-can-upload-image-to-cloudinary/2702578/12 "2023-11-19T17:51:11Z")

</div>

**MARK SOLVED**  
The problem was that have to be deploy in the smartphone to test, no in the web.

---

<div class="post-metadata">

**Author:** ![matt\_conroy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/matt_conroy/32/150843_2.png) [@matt\_conroy](https://community.thunkable.com/u/matt_conroy)\
**Post date:** [November 20, 2023, 2:28pm UTC](https://community.thunkable.com/t/solved-can-upload-image-to-cloudinary/2702578/13 "2023-11-20T14:28:30Z")

</div>


