Removes an image from the image list.