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


(Dan Dascalescu) #1

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?


(Jeff Atwood) #2

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


(Régis Hanol) #3

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