added delete image link
created route for image/delete
used uri segment to delete an image insted of a post request
added delete page image click function