imgbi / img.bi

img.bi main website
GNU General Public License v3.0
187 stars 27 forks source link

Automaticaly removed images still present in "My" #25

Closed IpsmLorem closed 10 years ago

IpsmLorem commented 10 years ago

When pictures are automaticaly removed because of "time to live", those pictures are still viewable in

https://img.bi/#/my

But when you click on the blue view button, it leads to the message: "Probably it was already removed."

Are the pictures sitll stored but not viewable ? In this case you should display to the author a message on top of each picture saying they have expired and a way to regenerate a new link. If the pictures is deleted from the storage then it also be deleted from the "my" view.

Furthermore, an automated deleted pictures cannot be removed from the my view, since the URL

https://img.bi/#/rm/<id>!<key> 

is not available any more and leads to the "Probably it was already removed." message too.

komachi commented 10 years ago

Images are automatically removed from localStorage if they got 404. They are still viewable because they are in browser's cache.