Deleting visitor uploaded images recorded in DB with code

My visitors upload images and I save their links to my database collection. They are all can be seen in Media Manager (Visitor Uploads section)

When I delete the full record with code (dataset remove (coll name, _id) I want the visitor uploaded image (not the link actual image) also removed. Apparently Corvid deletes only the record but visitor uploaded images remain.

Is there an automatic way to delete visitor uploaded images when I remove a DB record with links to those images?

Thanks

1 Like

Agree with Aytac, this functionality needs to be supported by code, by job, by trigger, or by automated task… Please help!