ogImage

The image shown when a page is shared, in its Open Graph tags and its structured data.

Type Default Notes
string | false public/og-image.* Site option, JAAB reads it too

Use cases

The usual file

Leave it unset and add public/og-image.png: JAAD takes the first of og-image.png, .jpg, .jpeg or .webp.

Another image

ogImage: '/social/card.png',

A page can set an image of its own in its frontmatter.

No image

ogImage: false,

Limits

A local image needs site: a social card takes absolute URLs. An http(s) URL needs nothing else.