'Return detailed information about a specific image.
:param req: `wsgi.Request` object
:param id: Image identifier'

@wsgi.Controller.api_version('2.1', MAX_PROXY_API_SUPPORT_VERSION)
@extensions.expected_errors(404)
def show(self, req, id):

    context = req.environ['nova.context']
    try:
        image = self._image_api.get(context, id)
    except (exception.ImageNotFound, exception.InvalidImageRef):
        explanation = _('Image    not    found.')
        raise webob.exc.HTTPNotFound(explanation=explanation)
    req.cache_db_items('images', [image], 'id')
    return self._view_builder.show(req, image)
