Added ability to delete images