Open frlan opened 8 years ago
Maybe we can do something I did with picdump. I generate a hash (IIRC ripemd 160) of the content und use that to save the filename. So if you upload the some content again and again no harddisc will be wasted. Of course you would need to do reference counting and when its not used any more, delete it.
This is a good idea but would need to change the middleware doing upload. Should be doable.
Maybe a simple modal with one tab to upload a new pic and another tab that shows paginated thumbnails of existing images is a more easy to implement solution.
When using the same pic again and again via the upload button its also storing the large with a different name inside media-folder. Having many items with the same symbolic picture — resistor e.g. — this is waste of hard disc.