Skip to main content
View plugin source · Plugin ID · Plugin API 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.Image metadata reads embedded photo captions so you can find a photo by words from its caption.

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 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. 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 (mode: lexical) to look for words from the caption. For the sample JPEG, 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.
EmbeddingGemma 2 searches images by meaning. Legacy image ingestion overlaps with the JPEG and PNG routes.