'Return data about the given image id.'

def show(self, req, id):

    try:
        image = self.db_api.image_get(req.context, id, v1_mode=True)
        LOG.debug('Successfully    retrieved    image    %(id)s', {'id': id})
    except exception.ImageNotFound:
        LOG.info(_LI('Image    %(id)s    not    found'), {'id': id})
        raise exc.HTTPNotFound()
    except exception.Forbidden:
        LOG.info(_LI("Access    denied    to    image    %(id)s    but    returning    'not    found'"), {'id': id})
        raise exc.HTTPNotFound()
    except Exception:
        LOG.exception((_LE('Unable    to    show    image    %s') % id))
        raise
    return dict(image=make_image_dict(image))
