# Interface RichTextComponent.ImageResolver

Enclosing class:
  `RichTextComponent`

public static interface RichTextComponent.ImageResolver
Resolves an image source string (as it appears in the markup, e.g. an `<img src>` URL or a Markdown image target) to a loaded `Image`. Return `null` to render a placeholder.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Image`
  `resolve(String source)`
  Resolves a source to an image.

- ## Method Details

  - ### resolve

    Image resolve(String source)
    Resolves a source to an image.
    Parameters:
      `source` - the source string from the markup
    Returns:
      the image, or null if it cannot be resolved