Esc
  • Jump to
  • The board
  • All launchesSort and filter by week or category
  • Open statsEvery number, in public
  • Maker storiesApps that stopped hiding
  • Submit a launch
  • AICategory
  • AnalyticsCategory
  • API & BackendCategory
  • Audio & VoiceCategory
  • AutomationCategory
  • CommunityCategory
↑↓ to move↵ to openPress / anywhere
Sign in

What is Open Graph Image (og:image)?

The og:image metadata property and graphic asset specified in a page's HTML head that social platforms, chat apps, and link previews display whenever someone shares your URL.

Updated · SEO & AI Search

Plain definition

Definition of Open Graph Image (og:image)

The og:image metadata property and graphic asset specified in a page's HTML head that social platforms, chat apps, and link previews display whenever someone shares your URL.

Formula / syntaxog:image + og:image:width (1200) + og:image:height (630) + og:image:type (image/png) + og:image:alt

Worked example

Under the Open Graph protocol (ogp.me), og:image is one of four required basic properties on every graph object, paired with optional structured metadata tags: og:image:secure_url, og:image:type, og:image:width, og:image:height, and og:image:alt. Declaring explicit pixel dimensions lets social crawlers size the card immediately without downloading the full image first.

Suppose a made-up changelog tool called NotePulse runs on Next.js App Router. For its homepage, the founder drops a crisp 1200x630 PNG named opengraph-image.png (plus opengraph-image.alt.txt) inside the root app folder, staying well under Next.js's 8 MB build limit for opengraph-image files (5 MB for twitter-image). For its 60 guide routes, NotePulse adds a dynamic opengraph-image.tsx generator that renders each guide's title onto a dark card template with generous 80-pixel padding.

Before posting on Slack, LinkedIn, and X, the founder verifies the absolute HTTPS URL loads cleanly without cookies and appends a version tag (?v=2) whenever updating the artwork so social platforms refresh cached thumbnails.

Why it matters when you launch

Launch traffic rarely starts from organic search; it spreads through shared links in Discord servers, Slack channels, X threads, LinkedIn posts, and iMessage chats. In all of those feeds, your og:image occupies roughly ten times the screen area of your URL slug and decides whether busy readers stop scrolling.

Generating per-route Open Graph images for guides, tools, and launch listings also stops every shared link from looking identical. Keep headlines large, center essential visuals away from edges that mobile cards crop, and serve fast PNG or JPEG files over HTTPS rather than SVG, which most social scrapers ignore.

Common mistakes

  • Pointing og:image at a relative path, localhost URL, or auth-protected asset, leaving blank gray boxes in Slack, Discord, and X previews.
  • Placing logos or headlines right against the outer 10% border of a 1200x630 image where square or tight mobile link cards crop off words.
  • Serving an SVG file or an oversized PNG above Next.js's 8 MB opengraph-image limit (or 5 MB twitter-image limit), causing social crawlers or builds to fail.
  • Replacing an existing og-image.png file in place after sharing the URL without changing the filename or query string to bust stubborn social caches.

Tools and guides that use it

Official sources

Pritam Ghosh runs Hauntboard and maintains this glossary.

Published · Updated

Building something real? Launch it in public.

A person reviews every launch on Hauntboard, and every view and visit it sends your site is published on your launch page. Free to submit.

Launch free →

On the board

All →

Still hiding your app?

Put it on the board. Reviewed by a person, free to launch.

Launch free
Submit a launch