'Return the image object for the specified image name/id.
:param image_identifier: image name
:returns: an image object with name/id :image_identifier:'

def get_image(self, image_identifier):

    if uuidutils.is_uuid_like(image_identifier):
        try:
            return self.client().images.get(image_identifier)
        except exc.HTTPNotFound:
            pass
    return self._find_with_attr('images', name=image_identifier)
