class_docstr: A custom image within a link nested in a div. Styling can be done via
  a parent container.
  
  
  Example usage::
      .. customimagelink::
          :image_link: other/page.html
          :image_src: images/image.png
          :image_src: My image
class_docstr_tok: ["A","custom","image","within","a","link","nested","in","a","div",".","Styling","can","be","done","via","a","parent","container",".","Example","usage",":",":","..","customimagelink",":",":",":","image_link",":","other\/page.html",":","image_src",":","images\/image.png",":","image_src",":","My","image"]
code: def run(self):
      image_link = self.options.get("image_link", "")
      image_src = self.options.get("image_src", "")
      image_title = self.options.get("image_title", "")
  
      callout_rst = _CUSTOM_IMAGE_LINK_TEMPLATE.format(
          image_link=image_link,
          image_src=image_src,
          image_title=image_title,
      )
  
      image_list = StringList(callout_rst.split("\n"))
      image = nodes.paragraph()
      self.state.nested_parse(image_list, self.content_offset, image)
      return [image]
  
file_path: fiftyone/docs/source/custom_directives.py
imports: from docutils.parsers.rst import Directive, directives
  from docutils.statemachine import StringList
  from docutils import nodes
label_desc: Use image node_id 1 for calling the CustomImageLinkDirective obj's underlying member method code with example usage: obj.run() and returns: list