# Photo collage OG image template

One to six photos in a tight grid with thin gutters and a caption on a band with a slanted edge.

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

For trip recaps, event galleries, listings with several rooms and "this week" posts. The grid is chosen from how many photos you send, from one full-bleed picture to six tiles; with none at all it shows four tiles of accent patterns, like a mood board. On wide frames the caption cuts across the bottom left corner; on square and vertical frames it is a full-width band under the grid, so no photo is hidden.

## 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 |
|---|---|---|---|
| `title` | text | Caption on the band, e.g. the place or the event. (default: Photo collage) | A long weekend in the Dolomites |
| `subtitle` | text | One more line under the caption. | Three hikes, two mountain huts and one perfect pizza |
| `date` | text | Date or period above the caption, e.g. Oct 2026. | Oct 2026 |
| `handle` | text | Account or site next to the date. | @northwind.travel |
| `photo_1` | image URL | First photo; the lead, shown largest. | https://example.com/images/mountains.jpg |
| `photo_2` | image URL | Second photo. | https://example.com/images/forest.jpg |
| `photo_3` | image URL | Third photo. | https://example.com/images/house.jpg |
| `photo_4` | image URL | Fourth photo. | https://example.com/images/pizza.jpg |
| `photo_5` | image URL | Fifth photo. | https://example.com/images/salad.jpg |
| `photo_6` | image URL | Sixth photo. | — |
| `accent` | colour | Brand colour as hex, e.g. #6366f1. Drives buttons, highlights and the background glow. (default: #f59e0b) | #f59e0b |
| `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": "photo-collage",
    "modifications": {
        "title": "A long weekend in the Dolomites",
        "subtitle": "Three hikes, two mountain huts and one perfect pizza",
        "date": "Oct 2026",
        "handle": "@northwind.travel",
        "photo_1": "https://example.com/images/mountains.jpg",
        "photo_2": "https://example.com/images/forest.jpg",
        "photo_3": "https://example.com/images/house.jpg",
        "photo_4": "https://example.com/images/pizza.jpg",
        "photo_5": "https://example.com/images/salad.jpg"
    }
}'
```

## 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/photo-collage/copy" -H "Authorization: Bearer sk_live_YOUR_KEY"
```
