Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
How can I remove images that have been deleted from the upload folder, from the Media Library?
You can delete Images from Admin panel Media Tab manually using Multi-select Deletion option
Delete from DB also as per media attachment ids.
I think Multi select deletion from Media tab is the best way to delete.
Hope this will help you!
Required, but never shown