Next.js Discord

Discord Forum

Testing open graph images locally

Unanswered
Ant posted this in #help-forum
Open in Discord
AntOP
Does anyone know of a way to see the OG images output when building locally? I'm using the opengraph-image.tsx file and I'd like to see the output without having to push & build on vercel etc.

2 Replies

AntOP
Never mind I literally figured it out the moment I posted this 🤣
You can watch the build output and look for the path, then just navigate there
You can also check the meta tags in your browser and navigate to the link that way