# How to delete image tokens

**URL:** <https://community.homey.app/t/how-to-delete-image-tokens/10066>\
**Category:** Questions & Help\
**Created:** [March 4, 2019, 12:43pm UTC](https://community.homey.app/t/how-to-delete-image-tokens/10066 "2019-03-04T12:43:13Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Darkness](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/darkness/32/5104_2.png) [@Darkness](https://community.homey.app/u/Darkness)\
**Post date:** [March 4, 2019, 12:43pm UTC](https://community.homey.app/t/how-to-delete-image-tokens/10066/1 "2019-03-04T12:43:13Z")

</div>

I have generated a ton of image tokens ([https://developer.athom.com/tools/images](https://developer.athom.com/tools/images)) using the synology app but there doesn’t seem to be a way to delete them. How do I go about deleting them?

---

<div class="post-metadata">

**Author:** ![Jorden](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jorden/32/8856_2.png) [@Jorden](https://community.homey.app/u/Jorden)\
**Post date:** [March 4, 2019, 1:18pm UTC](https://community.homey.app/t/how-to-delete-image-tokens/10066/2 "2019-03-04T13:18:37Z")

</div>

Restart the app, that should remove it.

Next version will just create 1 image token per device, and replace it on the next snapshot.

---

<div class="post-metadata">

**Author:** ![Darkness](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/darkness/32/5104_2.png) [@Darkness](https://community.homey.app/u/Darkness)\
**Post date:** [March 4, 2019, 1:24pm UTC](https://community.homey.app/t/how-to-delete-image-tokens/10066/3 "2019-03-04T13:24:36Z")

</div>

Thanks Jorden, that works!!

On a off-topic conversation, would you be able to also advice me on what I can do with the telegram app crashing every time I attach the image token to be sent to my account?? I think I have sent a crash report before.

---

<div class="post-metadata">

**Author:** ![Jorden](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jorden/32/8856_2.png) [@Jorden](https://community.homey.app/u/Jorden)\
**Post date:** [March 5, 2019, 8:58am UTC](https://community.homey.app/t/how-to-delete-image-tokens/10066/4 "2019-03-05T08:58:28Z")

</div>

Did you use the “local” image tag, or the one in Homey where you search for the image tag? In the last case, that is the cause of the crash.

I have received a lot of those crash reports and will soon build in a protection check.

---

<div class="post-metadata">

**Author:** ![Darkness](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/darkness/32/5104_2.png) [@Darkness](https://community.homey.app/u/Darkness)\
**Post date:** [March 5, 2019, 1:14pm UTC](https://community.homey.app/t/how-to-delete-image-tokens/10066/5 "2019-03-05T13:14:09Z")

</div>

Would you be able to kindly explain what you mean by “local” vs homey’s search? When I select the send a picture card and tap the ? icon, the only option available to me is “snapshot” under the synology app.

![Screenshot_20190305-211101_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/e/e45d56ebb9edda4e12d3e42ef8deb27d150a03d9.jpeg)

---

<div class="post-metadata">

**Author:** ![bvdbos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bvdbos/32/2352_2.png) [@bvdbos](https://community.homey.app/u/bvdbos)\
**Post date:** [March 5, 2019, 3:16pm UTC](https://community.homey.app/t/how-to-delete-image-tokens/10066/6 "2019-03-05T15:16:08Z")

</div>

What do you use as a trigger (in the when…)?

---

<div class="post-metadata">

**Author:** ![Darkness](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/darkness/32/5104_2.png) [@Darkness](https://community.homey.app/u/Darkness)\
**Post date:** [March 5, 2019, 5:28pm UTC](https://community.homey.app/t/how-to-delete-image-tokens/10066/7 "2019-03-05T17:28:39Z")

</div>

The trigger is linked to my Yale digital lock when it opens.

---

<div class="post-metadata">

**Author:** ![bvdbos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bvdbos/32/2352_2.png) [@bvdbos](https://community.homey.app/u/bvdbos)\
**Post date:** [March 5, 2019, 5:45pm UTC](https://community.homey.app/t/how-to-delete-image-tokens/10066/8 "2019-03-05T17:45:41Z")

</div>

The picture isn’t taken when the locks opens. You should do it like:

1. when lock opens then take picture
2. when picture taken then send message

then you can use the local tag for flow 2. Now it’s taking the last picture (if it does take one at all).

---

<div class="post-metadata">

**Author:** ![Darkness](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/darkness/32/5104_2.png) [@Darkness](https://community.homey.app/u/Darkness)\
**Post date:** [March 6, 2019, 4:15am UTC](https://community.homey.app/t/how-to-delete-image-tokens/10066/9 "2019-03-06T04:15:21Z")

</div>

The picture is taken not in the “when” portion but in the “then” portion.

 ![Screenshot_20190306-121334_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/9/92a77d8c9c3ce1f25286cbf685b5c67f6cea9fe7.jpeg)

---

<div class="post-metadata">

**Author:** ![Darkness](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/darkness/32/5104_2.png) [@Darkness](https://community.homey.app/u/Darkness)\
**Post date:** [March 6, 2019, 4:17am UTC](https://community.homey.app/t/how-to-delete-image-tokens/10066/10 "2019-03-06T04:17:48Z")

</div>

Note that I incorporated a delay of 10 seconds before sending the snapshot. It is not reflected in the screen cap as I created the flow for illustration purposes only. (I deleted the card as it kept crashing)

---

<div class="post-metadata">

**Author:** ![Jorden](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jorden/32/8856_2.png) [@Jorden](https://community.homey.app/u/Jorden)\
**Post date:** [March 6, 2019, 9:10am UTC](https://community.homey.app/t/how-to-delete-image-tokens/10066/11 "2019-03-06T09:10:50Z")

</div>

- Please note that Synology, the webcam AND the Homey app might have problems if you save it as a token and save to synology at the same time.
- Don’t send it to Telegram this way, add a second flow which triggers on your Surveillance Living room device with “a snapshot was taken”. Then you can do that without a delay, because it was trigger the flow when the snapshot is done.
