# \[Solved\] Setting Image picture to a png retrieved from QR Code api

**URL:** <https://community.thunkable.com/t/solved-setting-image-picture-to-a-png-retrieved-from-qr-code-api/1042379>\
**Category:** Questions about Thunkable X\
**Tags:** solved, image, qrcode, webapi\
**Created:** [January 8, 2021, 4:20pm UTC](https://community.thunkable.com/t/solved-setting-image-picture-to-a-png-retrieved-from-qr-code-api/1042379 "2021-01-08T16:20:19Z")\
**Posts on this page:** 7\
**Page:** 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:** [January 8, 2021, 10:53pm UTC](https://community.thunkable.com/t/solved-setting-image-picture-to-a-png-retrieved-from-qr-code-api/1042379/22 "2021-01-08T22:53:46Z")

</div>

> [@drted](#):
>
> I think we are thinking a bit too hard about this problem. I was surprised that the API is returning an actual image. Since that is the case you can display the image thus

Oh. Right. I was over-thinking this. A url to an image is something we can just use as the value of a Picture component. Or, yes, upload it to Cloudinary.

---

<div class="post-metadata">

**Author:** ![bluerfox15uht9](https://avatars.discourse-cdn.com/v4/letter/b/3be4f8/32.png) [@bluerfox15uht9](https://community.thunkable.com/u/bluerfox15uht9)\
**Post date:** [January 8, 2021, 11:06pm UTC](https://community.thunkable.com/t/solved-setting-image-picture-to-a-png-retrieved-from-qr-code-api/1042379/23 "2021-01-08T23:06:47Z")

</div>

see, that i didn’t know. i assumed because it was an api, that it had to go into the api block and have the return value as the image, but i guess this would make 1000x more sense because its html… geeez… I’m a goofball, its like when you’re looking for food in the pantry and you keep looking, and cant find it.

then someone else walks up and grabs it right away, and it was right in front of you, lol

---

<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:** [January 8, 2021, 11:43pm UTC](https://community.thunkable.com/t/solved-setting-image-picture-to-a-png-retrieved-from-qr-code-api/1042379/24 "2021-01-08T23:43:51Z")

</div>

That’s a whole lot easier. I’ll update the project link ahead but here’s a simplified version. It’s basically the same thing @drted shared.

> **[Thunkable](https://x.thunkable.com/copy/c67e9de0c06a1eb9feaa1635a77197ef)**

---

<div class="post-metadata">

**Author:** ![bluerfox15uht9](https://avatars.discourse-cdn.com/v4/letter/b/3be4f8/32.png) [@bluerfox15uht9](https://community.thunkable.com/u/bluerfox15uht9)\
**Post date:** [January 8, 2021, 11:55pm UTC](https://community.thunkable.com/t/solved-setting-image-picture-to-a-png-retrieved-from-qr-code-api/1042379/26 "2021-01-08T23:55:53Z")

</div>

yea, that’s… i feel like an idiot, lol…

also, i figured out that, when you want to add a new user account storage to the Real-time database, all you need to when they sign up is set the key to their new user id, and then make an object or list of the values email, vin, uuid, job history, etc… jeez, i expect things to be way harder to use than they actually turn out to be…

---

<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:** [January 9, 2021, 2:45am UTC](https://community.thunkable.com/t/solved-setting-image-picture-to-a-png-retrieved-from-qr-code-api/1042379/27 "2021-01-09T02:45:03Z")

</div>

App development is full of experiences like this. You spend hours debugging some small feature and then realize that there’s a way to do the same thing in a tenth of the time. But it’s all learning, right? 🙂

---

<div class="post-metadata">

**Author:** ![bluerfox15uht9](https://avatars.discourse-cdn.com/v4/letter/b/3be4f8/32.png) [@bluerfox15uht9](https://community.thunkable.com/u/bluerfox15uht9)\
**Post date:** [January 9, 2021, 2:17pm UTC](https://community.thunkable.com/t/solved-setting-image-picture-to-a-png-retrieved-from-qr-code-api/1042379/28 "2021-01-09T14:17:26Z")

</div>

oh, heck yea!

---

<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, 1:30pm UTC](https://community.thunkable.com/t/solved-setting-image-picture-to-a-png-retrieved-from-qr-code-api/1042379/29 "2024-11-08T13:30:58Z")

</div>



[Previous page](https://community.thunkable.com/t/solved-setting-image-picture-to-a-png-retrieved-from-qr-code-api/1042379.md?page=1)
