Twitter image size guide
The one that decides how your links look is the card image: 1200×628, referenced by twitter:image or og:image. Here are all the X image sizes, and a tester to see what X will crop.
X / Twitter image dimensions
| Where | Recommended | Ratio | Minimum | Max file |
|---|---|---|---|---|
| Link card: summary_large_image | 1200 × 628 | 1.91:1 (shown ~2:1) | 300 × 157 | 5 MB |
| Link card: summary | 240 × 240+ | 1:1 | 144 × 144 | 5 MB |
| Post image (landscape) | 1600 × 900 | 16:9 | 600 × 335 | 5 MB mobile / 15 MB web |
| Post image (portrait) | 1080 × 1350 | 4:5 | — | 5 MB mobile / 15 MB web |
| Header | 1500 × 500 | 3:1 | — | 2 MB |
| Profile photo | 400 × 400 | 1:1 (shown as circle) | — | 2 MB |
Sources: X Developer Platform “Cards markup” and X Help Center media guidance. Post-image display ratios are how the current apps render them.
See what gets cropped
Every platform centre-crops your image to its own shape. Pick a platform to see the part that survives. Try your own image: it never leaves your device.
Link card (summary_large_image): keeps the bright area and 5% of your image is cut off.
The dashed square is the centre-safe zone (the middle 630×630 of a 1200×630 image). Anything inside survives every crop, so put logos and key words there.
Card image vs post image
They’re different things. A card image comes from your page’s meta tags and appears when someone posts your link. A post image is uploaded directly to X. Card images are always centre-cropped to the card’s shape, and you can’t choose the focal point.
If the card shows a small square instead of a wide image, the page is asking for a summary card or has no twitter:card at all. The Twitter card validator shows which one you’re getting and why.