Skip to main content
Documentation

Twitter/X Card Image Guide

Twitter (now X) is where news breaks and ideas spread. With over 500 million monthly active users and 6,000 tweets per second, standing out in the feed is crucial. Your card image is often the difference between a scroll-past and a click. Let me show you exactly how to optimize for maximum engagement.

Updated for 2024: X has maintained Twitter's card specifications, but the algorithm now heavily favors native content. Cards still work, but pair them with engaging text.

Twitter Card Types

Twitter supports four card types, but for link sharing, only two matter:

Summary Card

Small square thumbnail on the left, title and description on the right.

Best for: Articles, blog posts where text is primary

Summary Large Image

Large image above title and description. Maximum visual impact.

Recommended: 150% more engagement than summary cards

Image Specifications

Twitter is specific about image requirements. Get these wrong and your image either won't show or will be cropped awkwardly:

SpecificationSummary Large ImageSummary
Recommended Size1200 × 630 px800 × 800 px
Minimum Size600 × 314 px144 × 144 px
Maximum Size4096 × 4096 px4096 × 4096 px
Aspect Ratio1.91:11:1
File Size Limit5 MB5 MB
Supported FormatsJPG, PNG, GIF, WEBPJPG, PNG, GIF, WEBP

Pro tip: Always use 1200 × 630 for summary_large_image. It's the OG standard and works across all platforms, not just Twitter.

Required Meta Tags

Twitter has its own meta tag namespace (twitter:), but it will fall back to Open Graph tags if Twitter-specific ones aren't present. Here's the complete setup:

<!-- Essential Twitter Tags -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Your Title Here" />
<meta name="twitter:description" content="Your description here" />
<meta name="twitter:image" content="https://yoursite.com/og-image.png" />

<!-- Optional but Recommended -->
<meta name="twitter:image:alt" content="Description of the image" />
<meta name="twitter:site" content="@yourusername" />
<meta name="twitter:creator" content="@authorusername" />

<!-- Open Graph Fallbacks (if Twitter tags missing) -->
<meta property="og:title" content="Your Title Here" />
<meta property="og:description" content="Your description here" />
<meta property="og:image" content="https://yoursite.com/og-image.png" />

Tag Breakdown

twitter:card

Required. Set to summary_large_image for the full-width image, or summary for the small thumbnail.

twitter:title

Maximum 70 characters. Goes above the description. Make it compelling—this is your headline.

twitter:description

Maximum 200 characters. Supports the title with context. Gets truncated on mobile, so front-load key info.

twitter:image

Must be an absolute URL (https://). Relative paths won't work. The image is cached, so use cache-busting for updates.

twitter:image:alt

Accessibility description for screen readers. Maximum 420 characters. Required for WCAG compliance.

Design Best Practices

Technically correct isn't enough. Here's what actually drives engagement:

1. Text Size and Readability

Mobile feeds are ruthless. If users can't read your text while scrolling, you've lost. Rule of thumb: if the text looks big in your design tool, it's probably right.

  • Title text: minimum 48px for visibility on mobile
  • Secondary text: minimum 24px
  • High contrast: dark text on light backgrounds (or vice versa)
  • Sans-serif fonts: easier to read at small sizes

2. Safe Zones

Twitter crops images differently on desktop vs mobile, and in timeline vs expanded view. Keep important content centered and away from edges:

Safe zone: Keep all critical content within the center 80% of the image. That means 120px padding on each side for a 1200px wide image.

3. Brand Recognition

Consistent visual branding builds trust and recognition. Users who recognize your brand are more likely to click:

  • Use consistent colors across all your OG images
  • Include your logo, but don't let it dominate
  • Develop a template style and stick to it

4. Emotional Appeal

Data shows that images triggering emotional responses get more engagement:

  • Human faces increase engagement by up to 38%
  • Bright, saturated colors catch attention in a sea of muted content
  • Curiosity gaps (partial information) drive clicks
  • Numbers and statistics signal value

The Algorithm Factor

Here's what the data tells us about X's algorithm and link cards:

  • • External links get reduced reach compared to native content
  • • Cards with images still outperform text-only tweets with links
  • • Engagement (replies, quotes) matters more than likes for reach
  • • First 30 minutes of engagement determines viral potential

Strategy: Post the link, but add context that invites discussion. A great OG image captures attention; your tweet copy drives the conversation.

Testing Your Twitter Cards

Before sharing, validate your cards. Twitter's Card Validator was deprecated, but you can still test by:

  1. Compose a tweet: Paste your URL in the composer. Twitter will attempt to load the card preview.
  2. Use our validator: og-image.org/validator shows exactly how Twitter will render your card.
  3. Check the cache: Twitter caches cards. If you updated your image, you might need to wait or use a different URL to see changes.

Troubleshooting Common Issues

Card not showing at all

  • • Check that twitter:card meta tag is present
  • • Verify image URL is absolute (starts with https://)
  • • Ensure image is accessible (not behind auth or firewall)
  • • Check robots.txt isn't blocking Twitterbot

Image appears cropped wrong

  • • Use exactly 1200 × 630 pixels
  • • Keep content centered (avoid edges)
  • • Don't rely on the full height—Twitter may crop

Old image still showing

  • • Twitter caches cards for ~7 days
  • • Add a query param to force refresh: ?v=2
  • • Wait and retry—cache eventually clears

Summary instead of summary_large_image

  • • twitter:card must be exactly "summary_large_image"
  • • Image must meet minimum size requirements
  • • Check for typos in meta tag names

Quick Implementation Checklist

  • Image is 1200 × 630 pixels
  • File size under 5 MB (ideally under 1 MB)
  • twitter:card set to "summary_large_image"
  • twitter:image uses absolute HTTPS URL
  • twitter:image:alt included for accessibility
  • Title under 70 characters
  • Description under 200 characters
  • Important content in center safe zone
  • Text readable on mobile screens

Ready to Create?

Use og-image.org to generate Twitter-optimized cards in seconds. All our templates are designed with Twitter's specifications in mind.