# Are all images pasted from the clipboard stored, or only the ones posted?

**URL:** <https://meta.discourse.org/t/are-all-images-pasted-from-the-clipboard-stored-or-only-the-ones-posted/26014>\
**Category:** Support\
**Created:** [March 5, 2015, 8:52am UTC](https://meta.discourse.org/t/are-all-images-pasted-from-the-clipboard-stored-or-only-the-ones-posted/26014 "2015-03-05T08:52:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dandv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dandv/32/169779_2.png) [@dandv](https://meta.discourse.org/u/dandv)\
**Post date:** [March 5, 2015, 8:52am UTC](https://meta.discourse.org/t/are-all-images-pasted-from-the-clipboard-stored-or-only-the-ones-posted/26014/1 "2015-03-05T08:52:59Z")

</div>

Say a user pastes an image into a post. Is that image store on the server, since I do see an “Uploading” progress indicator?

What if the user realizes during the preview that the image had included sensitive data, so they delete the `<img>` markup and paste a new one? Is the old image still available on the server?

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [March 5, 2015, 8:54am UTC](https://meta.discourse.org/t/are-all-images-pasted-from-the-clipboard-stored-or-only-the-ones-posted/26014/2 "2015-03-05T08:54:29Z")

</div>

Any images or files (attachments) not referenced by a live post are periodically removed. @zogstrip wrote that code.

---

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [February 20, 2017, 4:55pm UTC](https://meta.discourse.org/t/are-all-images-pasted-from-the-clipboard-stored-or-only-the-ones-posted/26014/3 "2017-02-20T16:55:56Z")

</div>

FYI: Uploads removal is now controller by 2 site settings

- “`clean orphan uploads grace period hours`”: number of hours before an upload that is not associated to a post/user/category gets moved to the tombstone
- “`purge deleted uploads grace period days`”: number of days before a file present in the tombstone gets definitely deleted
