Added image deleting APIs on server side.