Images·v0
Imagesv0

Add a 1200×630 Open Graph imagev0

Missing or undersized og:image is why LinkedIn and Slack previews look empty. 1200×630 PNG/JPEG is the spec every social platform expects.

rocket_launch

Fixing this in v0

Vercel AI component and app generator

v0 scaffolds Next.js App Router code — most fixes live in metadata objects and Server Components. Paste the prompt below into your v0 chat and the fix rolls out across the project in one pass.

Using a different tool? Pick your stack:

The prompt for v0

Copy and paste this into your v0 chat exactly as-is.

Regenerate my v0 component / page with these fixes applied:

Add an Open Graph image

1. Create a 1200x630px image for social sharing.
2. Add <meta property="og:image" content="https://yoursite.com/og-image.png"> to <head>.
3. Host the image on your own domain, not an external CDN.

Why this matters

Social and chat previews are often the first impression. A well-designed OG image lifts link CTR by 30-80% on social. No image = no preview card = scrolled past.

Dynamic OG images (Next.js ImageResponse, Vercel OG) can generate per-page cards automatically from page data — high impact, low maintenance.

How to use this prompt in v0

  1. 1. Open your v0 project.
  2. 2. Copy the prompt above with the copy button.
  3. 3. Paste into the v0 chat and send.
  4. 4. Review the diff, accept the changes, redeploy.
  5. 5. Verify the fix using the checklist below.

Common mistakes to avoid

  • error_outlineUsing a square logo as og:image — LinkedIn and Slack crop it.
  • error_outlineServing the image from a fragile URL (e.g., behind auth).
  • error_outlineForgetting the absolute URL — relative URLs break many scrapers.
  • error_outlineText in OG image too small to read at preview size.

How to verify the fix worked

  • check_circlehttps://www.opengraph.xyz/ shows the image.
  • check_circlePaste URL into LinkedIn/Slack/WhatsApp — preview renders.
  • check_circleTwitter Card Validator passes with summary_large_image.

Frequently asked questions

Dynamic or static OG images?expand_more
Static is simple and fast. Dynamic (generated per page) is better for blogs/products. Next.js ImageResponse is the standard.
JPEG or PNG?expand_more
PNG for crisp text, JPEG for photos. Keep under 1MB or some scrapers skip it.

Want all 34 prompts tailored to your v0 site?

Pantra scans your site in 10 seconds, detects the stack, and generates the exact prompts that apply — only the ones you actually need.

Scan my site

Related v0 prompts