def image(self, identifier):
if isinstance(identifier, dict):<EOL><INDENT>identifier = identifier.get('<STR_LIT:id>', '<STR_LIT>')<EOL><DEDENT>j, _ = self.request('<STR_LIT:GET>', '<STR_LIT>' + str(identifier))<EOL>return j<EOL>
::

    GET /:login/images/:id

:param identifier: match on the listed image identifier
:type identifier: :py:class:`basestring` or :py:class:`dict`

:Returns: the details of the given image matching the identifier
:rtype: :py:class:`dict`

A string or a dictionary containing an ``id`` key may be
passed in.