'Delete the given image.
:raises: ImageNotFound if the image does not exist.
:raises: NotAuthorized if the user is not an owner.
:raises: ImageNotAuthorized if the user is not authorized.'

def delete(self, context, image_id):

    try:
        self._client.call(context, 2, 'delete', image_id)
    except glanceclient.exc.NotFound:
        raise exception.ImageNotFound(image_id=image_id)
    except glanceclient.exc.HTTPForbidden:
        raise exception.ImageNotAuthorized(image_id=image_id)
    return True
