removes image from list after delete