If the draft of a post which I was going to publish later, is accidentally deleted, I will lose the links of the images I've already uploaded. Is there a way to recover those links?

This also applies if the link was deleted (accidentally, while trying to edit) within the grace period of five minutes after publishing the post.

  • 2
    $\begingroup$ Why would this recovery be necessary? Since you uploaded the images, you must have their originals and can just re-upload them again, no? $\endgroup$
    – ACuriousMind Mod
    Sep 6 at 7:16
  • $\begingroup$ Well, then does it imply that we can't? $\endgroup$
    – ACB
    Sep 6 at 12:13
  • $\begingroup$ Just to be clear, you’re asking about cases where the link is created on the image-hosting service but then not stored in the post’s revision history? $\endgroup$
    – rob Mod
    Sep 6 at 12:55
  • $\begingroup$ @rob I am not familiar with your statement, but I am asking about a situation where the post has not yet been published. For instance: I make a draft and leave it to publish later. Sometimes I make another draft for another post elsewhere and then visit the site and paste the copied text over previous draft, accidentally. Then I lose the previous draft with the links of the images : ( $\endgroup$
    – ACB
    Sep 6 at 13:03

The answer here is "probably not."

When you click the "add picture" button in the editor, your image gets sent to Imgur, who re-host the image. They give your image a unique line-noise name like AbCdE.jpg, generate medium- and small-sized versions with names like AbCdEm.jpg and AbCdEs.jpg, and then host and serve those images for the duration of the Imgur-SE contract, which just started its twelfth year.

If you re-upload your image, it'll get a new name like fGhIj.jpg. The previous version is still there, but you are extremely unlikely to guess its name. If know the name, you can ask to have it deleted. But if you have forgotten the name, there is no easy way to recover that name from the private list of every image uploaded from the entire SE network.

The real problem here is probably that the SE "saved a draft" feature is kind of delicate (see confusion here, see explanation here). Consider saving your drafts in this Meta sandbox, which uses the SE version history features, or using a service like https://stackedit.io/. If you are editing version 5 of a post and you need an image link you created in version 3, you can just grab it from the edit history.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .