Open Graph images are the preview thumbnails that appear when a URL is shared on social platforms like LinkedIn, Twitter/X, Facebook, Slack, and iMessage. They are defined with a <meta> tag in the page's <head>.
Add this tag to any page's <head>:
<meta property="og:image" content="https://brand.twobearcapital.com/og/og-dark-logo-tagline.png">| Property | Value | Notes |
|---|---|---|
| Dimensions | 1200 x 630 px | Standard for all major platforms |
| Aspect ratio | 1.91 : 1 | Facebook, LinkedIn, Twitter summary_large_image |
| Format | PNG | Lossless for crisp text and logos |
| Max file size | ~500 KB | Larger images may not display on some platforms |
| Twitter card | summary_large_image | Pair with <meta name="twitter:card"> |
python3 scripts/generate-og-images.py to regenerate all OG images from source assets using Pillow + CairoSVG. Photo-based images use JPEG for smaller file size; graphics use PNG for crisp text rendering.