Create OG images for your Next.js application

Опубликовано: 04 Август 2026
на канале: Sebastien Castiel
6,746
102

Do you like these nice images that come with some posts on Twitter?
You know, these pictures that contain the post title, the author name or the date.
They are called OG images, where OG stands for Open Graph.
And I have good news for you: now you can use a library created by Vercel to generate these images dynamically.
In this video, I’ll show you how.

My blog post with more details: https://scastiel.dev/create-og-images...
Check out my book about Next.js: https://amzn.to/3EggPRw
Example repository: https://github.com/scastiel/next-blog...
Chrome extension: https://chrome.google.com/webstore/de...