File manager photos

Hello,
I’m developing an application where the user creates his account and registers his products.

After the product is marketed, the user can delete this product.

It works perfectly, the user deletes the records and photos from the database.

The records are deleted from the database, including the photos.

But when I look at the file manager the images were not deleted.

Are these images still taking up space on the server?

You can delete these images when the record is deleted from the database.

Thanks,
Dirceu M. Azevedo

Here is a good explanation:

https://www.google.com/search?q=delete+from+file+manager+bubble&oq=delete+from+file+manager&aqs=chrome.2.69i57j33i160l3j33i299j33i22i29i30.6457j0j7&sourceid=chrome&ie=UTF-8#kpvalbx=_jkPgYtWxHp2tqtsPltuw0Ak9

Thanks!