There are two options to delete an element from the library:
only from the database (keeps the file on disk)
from the database and the file on disk
How to delete element(s)
go to Gallery view
select element(s) you want to delete
go to edit mode
click Delete Element button