You have picked a strong photo for your article, and now the practical questions arrive. How big should the card image be? How large a file is allowed? And where in the picture is it safe to put a headline or a face, given that the card will be seen in different apps at different sizes? These questions have a split answer.

The honest split is this. The Twitter Card Generator on Ovatly controls the tags and the card type, and the card type sets the image shape. The pixel and file limits belong to X, which documents them in its developer documentation, where they can be updated. And the safe-area question can only be answered by the real posted card, because the generator's preview does not fetch your image and X's rendering varies by client.

Contents

  • Quick answer
  • The card type sets the shape
  • The file rules: absolute URL and documented limits
  • Safe areas: what can and cannot be checked in advance
  • How to build the card, step by step
  • Worked example: a large-image card for an article
  • Limitations
  • Common mistakes
  • FAQs
  • Conclusion

Quick answer

Choose the card type that matches the image you have: summary_large_image for a wide image on articles and product pages, summary when you only have a small square image such as a logo. Give the Twitter Card Generator an absolute image URL, keep the file within the limits X documents for card images (for example under 5 MB; check the current developer documentation for exact limits), and treat any safe-area question as answered only by the posted card, since the preview mock is text-only and real rendering varies by client.

The card type sets the shape

The two card types that matter for most pages differ mainly in the image they expect. summary_large_image is the usual choice for articles and product pages because the wide image earns attention in the feed. summary is the smaller card, suited to a small square image such as a logo. So the first sizing decision is not a number at all: it is matching the shape of the image you actually have to the card type that expects that shape.

The remaining card types, app and player, promote a mobile app and embed audio or video respectively. Both need extra platform-specific fields, and player cards need approval from X, so most sites should stay with the summary types.

The file rules: absolute URL and documented limits

Two rules about the image file itself are fixed. First, card images must be absolute URLs: the complete address, not a path relative to the page. A relative or blocked image URL is one of the common causes of a card appearing with no image at all. Second, X documents size and file limits for card images, for example under 5 MB. Those limits are X's to set and to change, so before publishing an important card, confirm the current figures in X's developer documentation and check your file against them.

What the generator does with these rules is limited. It accepts the image URL you enter and includes it in the tags. It does not fetch the image, so it cannot measure its dimensions, weigh its file size, or confirm the address loads. Those checks are yours: open the image URL in a browser, and check the file in your image editor before you paste the URL in.

Safe areas: what can and cannot be checked in advance

A safe area is the part of an image that stays visible and readable wherever the card is displayed. It is a natural thing to ask a generator to confirm, and this one cannot. The preview is a text-only approximation; the image is not fetched, so the mock shows you the card's text, not your picture inside a real card frame. And X's real card rendering varies by client, so the same card is not framed identically everywhere it appears.

The practical consequence is a workflow, not a setting. Compose the source image so its important content is not fragile: a subject that still reads if the visible frame is a little tighter or looser will survive the variation between clients better than a headline placed at the very edge of the picture. Then look at the actual posted card in the clients your readers use and judge the safe area from the real thing. If the subject is clipped somewhere, adjust the source image and post again, keeping in mind that X caches cards, so changes can take a while to show on old posts.

How to build the card, step by step

  1. Open the Twitter Card Generator.
  2. Choose the card type, usually summary_large_image for articles and product pages.
  3. Add the site handle and, if different, the author's creator handle, each written with its @, like @brewlab.
  4. Enter the title, description and an absolute image URL, using an image whose shape matches the card type and whose file sits within the limits X currently documents.
  5. Read any warnings, check the preview mock, and copy the tags into the page <head>.

Worked example: a large-image card for an article

A coffee site publishes a brewing guide. In the generator: card type summary_large_image, site handle @brewlab, title "Pour Over Coffee: A Complete Guide", a description, and the absolute URL of a wide photograph. The output starts with the card type and site tags, followed by the title, description and image tags:

<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@brewlab">

Two details carry the sizing lessons. The image is wide, matching the large card; had the only available image been the small square BrewLab logo, the summary card would have been the honest match. And before copying the tags, the author still has to do the checks the tool cannot: open the image URL to confirm it loads, and confirm the file is within the limits X documents. Leaving the image empty would have triggered a warning, because a large-image card without an image falls back to a plain card.

Limitations

The generator builds tags; it does not process images. It cannot resize, crop or compress your picture, measure its dimensions, or weigh its file size, and it does not fetch the image to check any of that. Its preview is a text-only approximation, so it cannot show you a safe area. The exact size and file limits are set by X and documented in its developer documentation, where they can change; any figure quoted elsewhere should be confirmed there. Finally, X falls back to Open Graph tags when Twitter-specific tags are missing, so the image named in your OG tags also matters.

Common mistakes

  • Choosing the large card for a small square image. Match the card type to the image shape: wide image for summary_large_image, small square image such as a logo for summary.
  • Trusting an old size figure. X documents the limits and can change them. Check the current developer documentation instead of a remembered number.
  • Using a relative image URL. Card images must be absolute URLs; a relative one is a common cause of a missing card image.
  • Assuming the preview checked the image. The preview is text-only and the image is not fetched. Open the image URL yourself and check the file separately.
  • Judging the safe area from one client. Real card rendering varies by client, so check the posted card in more than the app you happen to use.

FAQs

What image size does a Twitter card need? The generator does not impose pixel dimensions. The card type sets the shape: a wide image for summary_large_image, a small square image for summary. X documents the size and file limits for card images in its developer documentation, so check there for the exact current limits.

How large can the image file be? X documents file limits for card images, for example under 5 MB. Limits can change, so confirm the current figure in X's developer documentation rather than relying on an old blog post.

Wide image or square image: which card type matches? summary_large_image suits most content pages because the wide image earns attention in the feed. Use summary when you only have a small square image, such as a logo.

Can the image URL be relative? No. Card images must be absolute URLs. A relative or blocked image URL is one of the common causes of a card appearing with no image.

Does the preview show how my image will actually look? No. The preview is a text-only approximation; the image is not fetched, and X's real card rendering varies by client. Check the posted card itself in the clients your readers use.

Conclusion

Card image sizing is three jobs: pick the card type whose shape matches your image, keep the file within the limits X documents and address it with an absolute URL, and verify the real posted card rather than trusting any mock. The Twitter Card Generator handles the tags and warns about traps like an empty image on a large card. If your card is built and the image still does not appear, the companion guide, Why Your Link Shows No Image on X (Twitter) and How to Fix It, works through the causes, and the SEO Tools guides collect the rest of the cluster.

References