Recommended dimensions
For summary_large_image cards: 1200 x 600 pixels at a 2:1 aspect ratio. This gives you the largest card in the timeline.
For summary cards: 144 x 144px minimum, but aim for at least 400 x 400px for sharp display on retina screens.
Cropping
Twitter center-crops to fit the card format. For summary_large_image, that’s a 2:1 crop from the center, and anything outside that ratio gets trimmed from the edges. Keep important content in the center 80% of the image.
Size limits
- Minimum: 144 x 144px (anything smaller is ignored)
- Max file size: 5 MB
- Max dimensions: 4096 x 4096px
Outside these bounds, the card falls back to text-only with no image.
Supported formats
JPEG, PNG, GIF (first frame only), and WebP.
Twitter re-encodes everything as JPEG regardless of source format. Even a clean PNG gets re-compressed, which can introduce artifacts. Use high-quality source images and avoid thin text or fine detail that won’t survive the re-encoding.
Image URL requirements
The twitter:image (or og:image) URL must be:
- An absolute URL (not relative)
- Accessible to Twitterbot without auth
- Served over HTTPS
- Not behind redirects requiring cookies or JavaScript