allow user to delete from image view page