You share a link on X (Twitter). Instead of your carefully designed preview, the platform shows a generic card with no image, crops your graphic awkwardly, or ignores it entirely. If this sounds familiar, your Twitter Card configuration needs work.
Twitter uses its own meta tag format — Twitter Cards — which is separate from Open Graph. While the two overlap, Twitter gives priority to its own tags when they're present. Getting these right means every link you share on X shows up with a proper image, title, and description.
Twitter Card Image Size: What Actually Works
Twitter supports two card types that include images. The size requirement differs between them:
| Card Type | Image Size | Aspect Ratio | Max Size |
|---|---|---|---|
| summary_large_image | 1200×600 | 2:1 | 5 MB |
| summary | 1200×1200 (square) | 1:1 | 5 MB |
Most sites use summary_large_image — it gives you a wide hero-style card at the top of the tweet. The small summary card shows a square thumbnail alongside the title and description, which works better for product pages or profile links.
I generated a test image using the OG Image Generator to confirm the dimensions. Opened the Minimal Dark template, set width to 1200 and height to 600 (Twitter's 2:1 ratio), typed a headline, and downloaded the PNG. The image rendered at exactly 1200×600 pixels with clean 2x text — no blurring on Retina displays.
The Meta Tags Twitter Actually Reads
Twitter looks for these tags in order of priority:
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@yourhandle">
<meta name="twitter:title" content="Page Title">
<meta name="twitter:description" content="Short description">
<meta name="twitter:image" content="https://yoursite.com/image.png">
If twitter:image is missing, Twitter falls back to og:image. But I've found that explicitly setting the Twitter tags gives you more control — Twitter's card rendering behaves differently when it finds its own namespace versus the Open Graph fallback. Specifically, Twitter wraps summary_large_image cards in a bordered container, while OG-sourced images sometimes render edge-to-edge without padding.
How to Test Your Twitter Card
Before sharing a link publicly, you have two ways to verify the card looks right:
- Use our OG Checker first. Paste your URL into the free OG Checker tool — it shows your og:image preview alongside all detected meta tags. If twitter:image is missing here, Twitter won't find it either.
- Run the official Twitter Card Validator. Go to cards-dev.twitter.com/validator, paste your URL, and click Preview. The tool shows exactly what your card will look like on desktop and mobile.
I tested the URL of a blog post I generated an image for. The validator showed the card rendering with the image at the expected 2:1 ratio. The title appeared in bold at the bottom of the image, and the description wrapped naturally. One thing I noticed: if your page takes longer than 5 seconds to load, Twitter's crawler may time out and show no preview at all. I confirmed my page loaded in under 2 seconds using Chrome DevTools before validating.
Generating Twitter-Specific Card Images
Since Twitter uses a different aspect ratio (2:1) than Facebook/LinkedIn (1.91:1), you have two approaches:
Option A — Single universal image (recommended for most). Use 1200×630 (the OG standard) and keep your content in the center safe zone. Twitter will add letterbox bars on the sides to fit its 2:1 box, but the image still fills the card. This is what I do — it keeps workflow simple.
Option B — Twitter-specific image. Generate a dedicated 1200×600 image with content spanning the full width. The OG Image Generator lets you set custom dimensions — choose 1200×600 and design a card optimized for Twitter's crop. The downside: you need separate images for each platform.
For most bloggers, Option A is the practical choice. The 1200×630 image works everywhere, and the minor letterboxing on Twitter is barely noticeable — it covers the full preview area.
Common Twitter Card Issues and Fixes
- Image not showing at all. Twitter requires the image URL to be absolute (starting with
https://). Relative paths like/images/card.pngdon't resolve. Also check that your server isn't blocking Twitter's crawler in robots.txt. - Card shows summary instead of summary_large_image. This means Twitter couldn't find or validate the
twitter:imagetag. Run the URL through the Card Validator to see what Twitter actually received. - Stale card preview. Twitter caches card data aggressively — sometimes for days. To force a refresh, paste your URL into the Twitter Card Validator and click the update button. If that doesn't work, append a query parameter (
?v=2) to your URL when sharing. - Image too small. Twitter ignores images under 300×157 pixels for
summary_large_image. Always generate at the full 1200×600 resolution and let Twitter downscale if needed — upscaling a small image produces blurry results. - Wrong image dimensions. If your image is 1200×630 (standard OG) but Twitter wraps it in
summary_large_image, the card still shows the image but may add slight letterboxing on the sides. This is cosmetic and doesn't break the card.
Putting It All Together
Here's the minimal set of meta tags every page on your site should have for proper Twitter Cards:
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Your Page Title">
<meta name="twitter:description" content="Your meta description">
<meta name="twitter:image" content="https://yoursite.com/og-image.png">
Pair these with the equivalent Open Graph tags (og:title, og:description, og:image) and you're covered for every platform. The twitter:site and twitter:creator tags are optional — they add your X handle below the card but don't affect image rendering.
Ready to create your Twitter Card images? Use our free generator — pick the Minimal Dark or Modern Blue template, enter your headline, and download a 1200×600 image ready for Twitter. Then verify it with our OG Checker before your next tweet.