# Resize image and resource managment

**URL:** <https://discourse.joplinapp.org/t/resize-image-and-resource-managment/743>\
**Category:** Support\
**Created:** [30 September 2018 14:28 UTC](https://discourse.joplinapp.org/t/resize-image-and-resource-managment/743 "2018-09-30T14:28:44Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![eagle](https://avatars.discourse-cdn.com/v4/letter/e/ba8739/32.png) [@eagle](https://discourse.joplinapp.org/u/eagle)\
**Post date:** [30 September 2018 14:28 UTC](https://discourse.joplinapp.org/t/resize-image-and-resource-managment/743/1 "2018-09-30T14:28:44Z")

</div>

If we attach an image to a note and use the new img tag (to resize the image) **instead** of the regular image tag, the “unused resource” monitoring does not recognize that the image is used in the note. So the image will be deleted after 24 hours…

---

<div class="post-metadata">

**Author:** ![laurent](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@laurent](https://discourse.joplinapp.org/u/laurent)\
**Post date:** [30 September 2018 18:24 UTC](https://discourse.joplinapp.org/t/resize-image-and-resource-managment/743/2 "2018-09-30T18:24:43Z")

</div>

Yes that’s pretty bad, it will be fixed in the next release - [https://github.com/laurent22/joplin/commit/0cd7ebf9d389754e79153303e4e6135782d9ce47](https://github.com/laurent22/joplin/commit/0cd7ebf9d389754e79153303e4e6135782d9ce47)

---

<div class="post-metadata">

**Author:** ![eagle](https://avatars.discourse-cdn.com/v4/letter/e/ba8739/32.png) [@eagle](https://discourse.joplinapp.org/u/eagle)\
**Post date:** [30 September 2018 18:30 UTC](https://discourse.joplinapp.org/t/resize-image-and-resource-managment/743/3 "2018-09-30T18:30:03Z")

</div>

Thanks a lot, Laurent.

( And thanks a million for creating Joplin! )

---

<div class="post-metadata">

**Author:** ![subi54](https://avatars.discourse-cdn.com/v4/letter/s/c37758/32.png) [@subi54](https://discourse.joplinapp.org/u/subi54)\
**Post date:** [17 October 2018 17:31 UTC](https://discourse.joplinapp.org/t/resize-image-and-resource-managment/743/4 "2018-10-17T17:31:38Z")

</div>

What happens to resources that are unneeded? That were attached by mistake and deleted promptly but still got synced and show up in resources but not in the note. Would they be deleted or not? Or would I have to delete the note?

---

<div class="post-metadata">

**Author:** ![tessus](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/tessus/32/13_2.png) [@tessus](https://discourse.joplinapp.org/u/tessus)\
**Post date:** [17 October 2018 17:56 UTC](https://discourse.joplinapp.org/t/resize-image-and-resource-managment/743/5 "2018-10-17T17:56:31Z")

</div>

@subi54 if resources are not referenced, they will be deleted after 24h, because they are deemed orphaned.

thus to answer your question: the resources will be deleted after 24h.

---

<div class="post-metadata">

**Author:** ![subi54](https://avatars.discourse-cdn.com/v4/letter/s/c37758/32.png) [@subi54](https://discourse.joplinapp.org/u/subi54)\
**Post date:** [17 October 2018 19:38 UTC](https://discourse.joplinapp.org/t/resize-image-and-resource-managment/743/6 "2018-10-17T19:38:13Z")

</div>

Thanks @tessus.

---

<div class="post-metadata">

**Author:** ![tessus](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/tessus/32/13_2.png) [@tessus](https://discourse.joplinapp.org/u/tessus)\
**Post date:** [26 February 2022 23:02 UTC](https://discourse.joplinapp.org/t/resize-image-and-resource-managment/743/7 "2022-02-26T23:02:06Z")

</div>

> [@Poll: add an image resize option?](https://discourse.joplinapp.org/t/poll-add-an-image-resize-option/24038):
>
> [poll](https://discourse.joplinapp.org/t/poll-add-an-image-resize-option/24038/1)

---

<div class="post-metadata">

**Author:** ![tessus](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/tessus/32/13_2.png) [@tessus](https://discourse.joplinapp.org/u/tessus)\
**Post date:** [26 February 2022 23:04 UTC](https://discourse.joplinapp.org/t/resize-image-and-resource-managment/743/8 "2022-02-26T23:04:31Z")

</div>


