Skip to content

Open Graph Image Generation Error [My fault] #65771

Discussion options

You must be logged in to vote

IIRC, vercel/og uses https://github.com/vercel/satori under the hood, and this is looking more like a problem with that library rather than Next.js

I am a bit confused, you have a body tag, and h1 and such, but the ImageResponse library serves an image, rather than HTML...

So the reason why it "hangs", is that, the HTML you are passing to Satori, to generate an img, not html, is causing some issues with their internal rendering. Note that they don't support the full spec of HTML+CSS.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@ASerinYellsNotCute
Comment options

@ASerinYellsNotCute
Comment options

@ASerinYellsNotCute
Comment options

@ASerinYellsNotCute
Comment options

Answer selected by ASerinYellsNotCute
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants