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

1 Answer

+1 vote
by
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.

Welcome to the Q&A site for Question2Answer.

If you have a question about Q2A, please ask here, in English.

To report a bug, please create a new issue on Github or ask a question here with the bug tag.

If you just want to try Q2A, please use the demo site.

Categories

...