# Identify if a Image is taken from an url or local storage

**URL:** <https://community.thunkable.com/t/identify-if-a-image-is-taken-from-an-url-or-local-storage/580912>\
**Category:** Questions about Thunkable X\
**Tags:** beginner, image\
**Created:** [May 20, 2020, 6:17pm UTC](https://community.thunkable.com/t/identify-if-a-image-is-taken-from-an-url-or-local-storage/580912 "2020-05-20T18:17:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kirro](https://avatars.discourse-cdn.com/v4/letter/k/b3f665/32.png) [@Kirro](https://community.thunkable.com/u/Kirro)\
**Post date:** [May 20, 2020, 6:17pm UTC](https://community.thunkable.com/t/identify-if-a-image-is-taken-from-an-url-or-local-storage/580912/1 "2020-05-20T18:17:24Z")

</div>

Hi,

I want to check if an Image is shown from the local storage (i.e. camera) or if it is a url or base64?  
I tried e.g. the following:  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/2/92a3bf7ac685ac243ec59b396e2ffa6b5c2b3d42.png)

Is this the way or is there another way?

Thank you!

---

<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:** [June 11, 2020, 12:05pm UTC](https://community.thunkable.com/t/identify-if-a-image-is-taken-from-an-url-or-local-storage/580912/2 "2020-06-11T12:05:38Z")

</div>

Hey @Kirro,

I don’t think this logic will work to check for the presence of a URL

How about using the `does text contain` block, like this:

 ![text_contains](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/3/03a573c7edbe39d7f64d39128407d108f9ad0ec3.png)

---

<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:27am UTC](https://community.thunkable.com/t/identify-if-a-image-is-taken-from-an-url-or-local-storage/580912/3 "2024-11-08T11:27:24Z")

</div>


