> ## Documentation Index
> Fetch the complete documentation index at: https://docs.quivr.thevibecompany.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Image metadata

> Read EXIF, IPTC and XMP metadata from photos and create thumbnails.

Formats

stable

v0.2.0

Needs JPEG, PNG or WebP

[View plugin source](https://github.com/The-Vibe-Company/quivr/tree/main/plugins/image-metadata) · Plugin ID `image-metadata` · Plugin API `>=0.25.0 <0.26.0`

Image metadata makes caption words available to search.

![Image metadata reads embedded photo captions so you can find a photo by words from its caption.](https://mintcdn.com/thevibecompany/PI_GEAEWJFtcLBcC/images/diagrams/image-metadata.png?fit=max\&auto=format\&n=PI_GEAEWJFtcLBcC\&q=85\&s=8eb4c2fdb5e896638d1a18768da1371f)

## What it does

A format plugin turns a file into searchable parts. Image metadata reads embedded captions, headlines and other editorial details so you can find a photo by its words. It also makes a thumbnail for display.

## Before you start

Have a JPEG, PNG or WebP file. Check that the caption or keywords are embedded in the file. A description in a separate file needs to be submitted as text.

## Enable it

Single Machine and Railway include routes for `image/jpeg`, `image/png` and `image/webp`. On other deployments, [pin the plugin](https://docs.quivr.thevibecompany.co/operate/manage-plugins.md#pin-a-plugin) and add required routes for the formats you use. Each media type can have only one format plugin.

## Use it

### Find a photo by caption

1. Follow [Upload a file](https://docs.quivr.thevibecompany.co/guides/add-content.md#upload-a-file). Use the image’s media type in both the upload and the document submission.
2. When the receipt for your submission reports `availability.searchable: true`, use [keyword search](https://docs.quivr.thevibecompany.co/guides/search.md#choose-a-mode) (`mode: lexical`) to look for words from the caption. For the [sample JPEG](https://github.com/The-Vibe-Company/quivr/blob/main/plugins/image-metadata/fixtures/harbour.jpg), search for “old harbour wall”.
3. Use the receipt’s record and version IDs to request the thumbnail from
   `GET /v0/records/{record_id}/versions/{version_id}/parts/image/content?variant=thumbnail`.
   You need `content:read` and access to the document. The sample is 96 × 64 pixels and gets only a thumbnail with the defaults.

## Settings

Set `thumbnail_max_edge` to cap the thumbnail’s long edge. The default is 512 pixels. Images keep their aspect ratio and are never enlarged.

## What it produces

Quivr keeps the original image and any text the plugin finds in editorial fields. Camera settings and dimensions stay in structured metadata. The plugin renders an upright JPEG thumbnail. It attempts a larger preview only when the original’s long edge exceeds `thumbnail_max_edge` and that setting is below 1,024 pixels.

## Limits and troubleshooting

* If a preview is missing, request the thumbnail. Small images and images processed with `thumbnail_max_edge: 1024` get only a thumbnail.
* If the file is refused, check the media type, byte size and pixel count. The defaults are 32 MiB and 40 million pixels.
* To find a photo by what it shows, use [the EmbeddingGemma 2 image search recipe](https://docs.quivr.thevibecompany.co/plugins/multimodal-embed.md#search-for-the-same-idea-in-different-words).

## Related plugins

[EmbeddingGemma 2](https://docs.quivr.thevibecompany.co/plugins/multimodal-embed.md) searches images by meaning. [Legacy image ingestion](https://docs.quivr.thevibecompany.co/plugins/crossmodal-image.md) overlaps with the JPEG and PNG routes.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.