# Breaking news OG image template

A news photo with a solid kicker tab cut into its edge, a serif headline, the source and the time.

- Slug: `breaking-news`
- Preview (real render): https://shareglint.com/storage/template-previews/breaking-news.jpg
- Page: https://shareglint.com/en/templates/breaking-news

For news sites, local papers, newsletters and internal announcements that publish an alert per article. A long `headline` shrinks to fit, the location and the time end in an ellipsis, and without a `photo` the image area becomes a hatched wire pattern with the kicker word in outline. Wide frames put the photo on the right and the text on newsprint beside it; square and vertical frames put the photo on top with the kicker tab straddling its bottom edge.

## Fields

Every field is optional. Long text shrinks to fit instead of overflowing; an image field takes a public URL that we fetch on our side.

| Field | Type | Description | Example |
|---|---|---|---|
| `headline` | text | The headline, set in a serif like a front page. (default: Headline) | Dense fog grounds flights across the Alps as the valley inversion holds for a third day |
| `kicker` | text | Label in the tab, e.g. Breaking, Live or Update. (default: Breaking) | Breaking |
| `location` | text | Where the story happens, in small capitals next to the tab. | Zermatt, Switzerland |
| `source` | text | Publication name next to the logo. | Northwind News |
| `timestamp` | text | Publication time as you want it shown, e.g. Oct 26, 2026 · 07:40 CET. | Oct 26, 2026 · 07:40 CET |
| `photo` | image URL | News photo; covers the image area. | https://example.com/images/mountains.jpg |
| `logo` | image URL | Publication logo, square. | https://example.com/images/logo-northwind.png |
| `accent` | colour | Brand colour as hex, e.g. #6366f1. Drives buttons, highlights and the background glow. (default: #dc2626) | #dc2626 |
| `theme` | dark | light | Colour scheme: dark or light. (default: light) | — |

## Render it with one request

```bash
curl -X POST "https://shareglint.com/v1/images?wait=true" \
  -H "Authorization: Bearer sk_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "template": "breaking-news",
    "modifications": {
        "headline": "Dense fog grounds flights across the Alps as the valley inversion holds for a third day",
        "kicker": "Breaking",
        "location": "Zermatt, Switzerland",
        "source": "Northwind News",
        "timestamp": "Oct 26, 2026 · 07:40 CET",
        "photo": "https://example.com/images/mountains.jpg",
        "logo": "https://example.com/images/logo-northwind.png"
    }
}'
```

## Make it yours

accent and theme change per request. For anything more, copy the template into your account: you get an ordinary HTML template with the same fields that you can edit in the dashboard or through the API. If the slug is free on your account, the copy takes it — your integrations switch to your version without changing a line.

```bash
curl -X POST "https://shareglint.com/v1/templates/library/breaking-news/copy" -H "Authorization: Bearer sk_live_YOUR_KEY"
```
