Skip to content

Open Graph Preview Images - #784

Merged
AugustMiller merged 1 commit into
mainfrom
kenneth/og-image
Oct 15, 2026
Merged

AugustMiller merged 1 commit into
mainfrom
kenneth/og-image

Conversation

@AugustMiller

Copy link
Copy Markdown
Contributor

Kenneth has set up Cloud’s “open-beta” screenshot capturing tool to dynamically generate preview images for all docs + KB pages; this just adds the appropriate head tags that point to stable craftcms.com redirects… so, we don't need to know the full URL of the asset (which may change over time), just the path.

For example, a request to…

https://craftcms.com/api/og-image/docs/5.x/editions

…will respond with a redirect, like this:

HTTP/2 302
Location: https://cdn.craft.cloud/[[ Project UUID ]]/assets/card-image/[[ Filename with entropy ]].png

Images are generated in the background when an entry is saved.

@AugustMiller
AugustMiller requested a review from a team as a code owner August 25, 2026 17:28
@netlify

netlify Bot commented Aug 25, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for craft-docs ready!

Name Link
🔨 Latest commit 0fdd49a
🔍 Latest deploy log https://app.netlify.com/projects/craft-docs/deploys/6a8dd0a12484760008885c04
😎 Deploy Preview https://deploy-preview-784--craft-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@AugustMiller
AugustMiller merged commit b4113e6 into main Oct 15, 2026
9 checks passed
@AugustMiller
AugustMiller deleted the kenneth/og-image branch October 15, 2026 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants