---
title: "Open Graph images — Pixmato"
description: "Give every article, changelog entry, and product page its own link preview, generated when the page is published."
url: https://pixmato.com/use-cases/open-graph-images
---

[Use cases](https://pixmato.com/use-cases)

Open Graph images

# A share image for every page, made when you publish

Links without a preview image get passed over, but making one for every article is a chore nobody keeps up. Pixmato generates it from the title, author, and category your CMS already has.

[Create your first template](https://app.pixmato.com/signup?source=site)

## From article metadata to a recognizable link preview

fieldnotes / a-quieter-way-to-work.md

Your article

### A quieter way
to work.

Good work needs room to breathe.
A guide to making a little more space.

AUTHOR**Alex Morgan**SECTION**Work & wellbeing**

Fields sent to the template`title: "A quieter way to work."   author: "Alex Morgan"   category: "Work & wellbeing"`

Article content ready for your API request

Your share-image template1200 × 630

AM

**Alex Morgan**

A little space for your best work. A new read from Fieldnotes.

fieldnotes.co/journal/a-quieter-way-to-work

FIELDNOTESTHINK A LITTLE CLEARER.

`{{title}}`{{author}}

{{category}}024 ↗

FIELDNOTES.CO**A quieter way to work.**

Good work needs room to breathe.

In your page’s head`<meta property="og:image"     content="*your-image-url*" />`

Use the article fields your CMS already has.

fieldnotes / a-quieter-way-to-work.md

Your article

### A quieter way
to work.

Good work needs room to breathe.
A guide to making a little more space.

AUTHOR**Alex Morgan**SECTION**Work & wellbeing**

Fields sent to the template`title: "A quieter way to work."   author: "Alex Morgan"   category: "Work & wellbeing"`

Share image generated

Your share-image template1200 × 630

AM

**Alex Morgan**

A little space for your best work. A new read from Fieldnotes.

fieldnotes.co/journal/a-quieter-way-to-work

FIELDNOTESTHINK A LITTLE CLEARER.

#### A quieter
way to work.

Alex Morgan · Work & wellbeing

WORK & WELLBEING024 ↗

FIELDNOTES.CO**A quieter way to work.**

Good work needs room to breathe.

In your page’s head`<meta property="og:image"     content="*your-image-url*" />`

Generate an image using your template and article data.

fieldnotes / a-quieter-way-to-work.md

Your article

### A quieter way
to work.

Good work needs room to breathe.
A guide to making a little more space.

AUTHOR**Alex Morgan**SECTION**Work & wellbeing**

Fields sent to the template`title: "A quieter way to work."   author: "Alex Morgan"   category: "Work & wellbeing"`

Share image generated

Your link preview1200 × 630

AM

**Alex Morgan**

A little space for your best work. A new read from Fieldnotes.

fieldnotes.co/journal/a-quieter-way-to-work

FIELDNOTESTHINK A LITTLE CLEARER.

#### A quieter
way to work.

Alex Morgan · Work & wellbeing

WORK & WELLBEING024 ↗

FIELDNOTES.CO**A quieter way to work.**

Good work needs room to breathe.

In your page’s head`<meta property="og:image"     content="*https://…/quieter-work.png*" />`

Your code sets og:image to the generated image URL.

Your article already contains the details the image needs.

## No separate design step before publishing

### Stop making a separate graphic for every page.

Use the title, author, and category already stored in your CMS instead of copying them into another design.

### Give your editorial brand a consistent frame.

Create and review one share-image template. Reuse the same typography and visual identity for new stories.

### Make it part of your publishing code.

Generate the image from your publishing workflow and set its URL in the page metadata. Your application controls when it runs.

## What you send, what you get

Five fields your CMS already holds for every article. Send them when the article is published and use the returned image as its preview.

POST /v1/rendersRequest

```
{
  "template": "YOUR_TEMPLATE_ID",
  "modifications": {
    "section": "Work",
    "title": "The four-day week, two years in",
    "summary": "What 61 companies kept, what they dropped, and the one thing none of them expected.",
    "author": "By Hannah Kessler",
    "read_time": "6 min read"
  },
  "output": {
    "format": "png",
    "scale": 1
  }
}
```

200 OK · image/pngResponse

![The link preview image produced by this request, for an article titled “The four-day week, two years in”.](https://pixmato.com/examples/use-cases/article-four-day-week.jpg)

## Templates to start from

Four designs at the 1200 × 630 size that link previews use: an article, a customer story, a year in numbers, and a price announcement.

[Browse all 105](https://pixmato.com/templates)

### Article share image

[![Article share image design: Article share image](https://pixmato.com/templates/thumbs/the-margin-streets-back.jpg)](https://pixmato.com/templates/the-margin-streets-back)

[Use](https://app.pixmato.com/templates/use/the-margin-streets-back?source=site)

### Customer story

[![Customer success story design: Customer story](https://pixmato.com/templates/thumbs/gather-customer-story.jpg)](https://pixmato.com/templates/gather-customer-story)

[Use](https://app.pixmato.com/templates/use/gather-customer-story?source=site)

### Company year in numbers

[![Yearly usage recap design: Company year in numbers](https://pixmato.com/templates/thumbs/tandem-payments-2026-in-numbers.jpg)](https://pixmato.com/templates/tandem-payments-2026-in-numbers)

[Use](https://app.pixmato.com/templates/use/tandem-payments-2026-in-numbers?source=site)

### New price

[![New price design: New price](https://pixmato.com/templates/thumbs/marlowe-vane-new-price.jpg)](https://pixmato.com/templates/marlowe-vane-new-price)

[Use](https://app.pixmato.com/templates/use/marlowe-vane-new-price?source=site)

## Questions about open graph images

How do I attach the image to my page?

The response includes a URL for the finished file. Put that URL in the page’s og:image tag.

Should I generate the image every time someone opens the page?

No. Generate it once when the page is published or its title changes, then keep the URL with the page.

What if a title is very long?

The title cuts off at a whole word after three lines, so the layout holds for any article.

Can different sections have different colors?

Yes. Send a color with the request, or keep a separate template for each section.

## Build the template once

Design it in the editor, try it with your own details in a form, and connect the API when you are ready.

[Build a template](https://app.pixmato.com/signup?source=site) [Explore the API](https://pixmato.com/docs/quickstart)
