added: deleting related images after deleting an item