Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
in Q2A Core by
Why old blob remains there ,? how to delete blob if any one uploads new one
If the blob is for a user avatar, the old one should be replaced.

1 Answer

+1 vote
Good point. That is why there is the image manager plugin "list uploads": https://github.com/echteinfachtv/q2a-list-uploads-page which lets you delete unused images (blobs).

To solve this directly, it might be tricky. You could check if:

- the blob exists already (same filename and same size)

- has been created within the last 20 min or so

And then, only then, delete the former uploaded one.

Hope that helps.