> ## Documentation Index
> Fetch the complete documentation index at: https://prismeai-legacy.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Image Block

> Display an image with optional caption.

[Demo](https://demo.pages.prisme.ai/en/Image)

## Minimal usage

```yaml theme={null}
# Page/Block
- slug: Image
  src: https://host/myimage.png
  alt: my image
```

Display an image loaded from `src` with an alternative text.

[Demo](https://demo.pages.prisme.ai/en/Image#minimal-usage)

## Advanced usage

`caption` attach a localized text around the image. It results in a figure html
tag and a figcaption.

```yaml theme={null}
# Page/Block
- slug: Image
  src: https://host/myimage.png
  alt: my image
  caption: This image represent something decribing tgat you can caption an image
```

[Demo](https://demo.pages.prisme.ai/en/Image#advanced-usage)
