# Is there a way to store Images in Objects?

**URL:** <https://community.thunkable.com/t/is-there-a-way-to-store-images-in-objects/551588>\
**Category:** Questions about Thunkable X\
**Created:** [April 2, 2020, 10:56am UTC](https://community.thunkable.com/t/is-there-a-way-to-store-images-in-objects/551588 "2020-04-02T10:56:20Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![huntermclarkn](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/huntermclarkn/32/66310_2.png) [@huntermclarkn](https://community.thunkable.com/u/huntermclarkn)\
**Post date:** [April 2, 2020, 10:56am UTC](https://community.thunkable.com/t/is-there-a-way-to-store-images-in-objects/551588/1 "2020-04-02T10:56:20Z")

</div>

So I am trying to allow an Image to be saved as an object and then call that object on a different page and show the Image. With the blacks I have now, I am able to move unique Images as the jpg text but not as the visible Image. Do you guys have any ideas? Or maybe it just isn’t a featur yet but could be?  
 ![Annotation 2020-04-02 113856](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/0/d0825b69b2f8f4625690913e95003fdd3fee5783.jpeg)

 ![Annotation 2020-04-02 113941](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/9/d97185a384c1d0405c9a110cc7c89f2e20250145.jpeg)

It works in that I am able to move and store unique images but they appear like this Annotation 2020-04-02 113941|690x182](upload://v1APw0ryF5MijAvPhRbPFEdpI3j.jpeg

---

<div class="post-metadata">

**Author:** ![Chris](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/chris/32/78883_2.png) [@Chris](https://community.thunkable.com/u/Chris)\
**Post date:** [April 2, 2020, 12:05pm UTC](https://community.thunkable.com/t/is-there-a-way-to-store-images-in-objects/551588/2 "2020-04-02T12:05:59Z")

</div>

Hey,

I am really not sure if you can put images into objects at all but why are you trying to get a list item when you haven’t created a list so far (at least I can’t see where you did in your blocks).

> **[Object file](https://en.wikipedia.org/wiki/Object_file)**
>
> An object file is a file containing object code, meaning relocatable format machine code that is usually not directly executable. There are various formats for object files, and the same object code can be packaged in different object files. An object file may also work like a shared library.
> In addition to the object code itself, object files may contain metadata used for linking or debugging, including: information to resolve symbolic cross-references between different modules, relocation info...

  
This is why I doubt you can put actual images in an object 🤔

Maybe you can change your blocks to use another component?

Best, Chris

---

<div class="post-metadata">

**Author:** ![huntermclarkn](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/huntermclarkn/32/66310_2.png) [@huntermclarkn](https://community.thunkable.com/u/huntermclarkn)\
**Post date:** [April 2, 2020, 2:50pm UTC](https://community.thunkable.com/t/is-there-a-way-to-store-images-in-objects/551588/3 "2020-04-02T14:50:24Z")

</div>

Okay, I’ll give something else a shot. Wasn’t having luck with a stored variable in getting unique pictures to show up on unique clicks but I’ll see what I can do

---

<div class="post-metadata">

**Author:** ![Daniel\_Coglitore](https://avatars.discourse-cdn.com/v4/letter/d/e8c25b/32.png) [@Daniel\_Coglitore](https://community.thunkable.com/u/Daniel_Coglitore)\
**Post date:** [April 2, 2020, 3:15pm UTC](https://community.thunkable.com/t/is-there-a-way-to-store-images-in-objects/551588/4 "2020-04-02T15:15:09Z")

</div>

yes you can! but when you store a new object you inmediatly replace the old one , in the block where you check if “Get property Photo” is empty of object why you use the block in list? your variable stored is not a list “objects aren’t lists” or either you’ll have to create a single object for each picture or to save all the pictures in a list and then to check it , the blocks you’ll find useful are in the List: make list from text or make text from list and in the objects : Get property of objects ( this returns you a list of the objects you stored)

---

<div class="post-metadata">

**Author:** ![huntermclarkn](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/huntermclarkn/32/66310_2.png) [@huntermclarkn](https://community.thunkable.com/u/huntermclarkn)\
**Post date:** [April 2, 2020, 3:18pm UTC](https://community.thunkable.com/t/is-there-a-way-to-store-images-in-objects/551588/5 "2020-04-02T15:18:29Z")

</div>

I have been using the block in list as I want the photo to appear after I click on a particular name in my list. So I have been trying to put the “index” tab so that it knows I’m referencing a particular object.

For instance if my list has  
Jim  
Hunter  
David

I want to be able to click on Jim and have the photo of Jim show up, and if I click on David have the photo of David show up

---

<div class="post-metadata">

**Author:** ![Daniel\_Coglitore](https://avatars.discourse-cdn.com/v4/letter/d/e8c25b/32.png) [@Daniel\_Coglitore](https://community.thunkable.com/u/Daniel_Coglitore)\
**Post date:** [April 2, 2020, 3:21pm UTC](https://community.thunkable.com/t/is-there-a-way-to-store-images-in-objects/551588/6 "2020-04-02T15:21:57Z")

</div>

and when you said if you can save the image as an object you refer the image itself? or the name of the image(route) ? because you can only save the name so if the user deletes his image from the phone I think he won’t be able to access the image again from the app 🤔

---

<div class="post-metadata">

**Author:** ![huntermclarkn](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/huntermclarkn/32/66310_2.png) [@huntermclarkn](https://community.thunkable.com/u/huntermclarkn)\
**Post date:** [April 2, 2020, 3:24pm UTC](https://community.thunkable.com/t/is-there-a-way-to-store-images-in-objects/551588/7 "2020-04-02T15:24:39Z")

</div>

That would be okay, I am wanting essentially to be able to have Profile Pictures that appear the same each time the click but a backup wouldnt need to be stored in the app

---

<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 2, 2020, 4:45pm UTC](https://community.thunkable.com/t/is-there-a-way-to-store-images-in-objects/551588/8 "2020-04-02T16:45:54Z")

</div>

I would save the photo to cloudinary and reference the url in the object property

When you click on the name, the app calls cloudinary and uses the url as a source for the users image.

---

<div class="post-metadata">

**Author:** ![huntermclarkn](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/huntermclarkn/32/66310_2.png) [@huntermclarkn](https://community.thunkable.com/u/huntermclarkn)\
**Post date:** [April 2, 2020, 4:52pm UTC](https://community.thunkable.com/t/is-there-a-way-to-store-images-in-objects/551588/9 "2020-04-02T16:52:56Z")

</div>

Okay, cloudinary being a cloud variable? Or the object block JSON?

---

<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 2, 2020, 5:02pm UTC](https://community.thunkable.com/t/is-there-a-way-to-store-images-in-objects/551588/10 "2020-04-02T17:02:48Z")

</div>

[https://docs.thunkable.com/media-db](https://docs.thunkable.com/media-db)

Check out that link. I dont use their API yet, but i do store a lot of my screenshots for my blog on there because wordpress can kiss my but and makes it hard to store my photos on _my_ server for some reason.

---

<div class="post-metadata">

**Author:** ![huntermclarkn](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/huntermclarkn/32/66310_2.png) [@huntermclarkn](https://community.thunkable.com/u/huntermclarkn)\
**Post date:** [April 2, 2020, 5:08pm UTC](https://community.thunkable.com/t/is-there-a-way-to-store-images-in-objects/551588/11 "2020-04-02T17:08:51Z")

</div>

Thanks, I’ll check that out and let you know how it goes

---

<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:39am UTC](https://community.thunkable.com/t/is-there-a-way-to-store-images-in-objects/551588/12 "2024-11-08T11:39:24Z")

</div>


