Implement deleting an image