Do these 3 things before closing this tab:
1Repair Windows errors before they cause bigger problems2Scan for outdated or missing drivers - takes under a minute3Clear out junk files and repair common Windows errorsiTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more
For a photo attached directly to a regular X post, use an image with a standard aspect ratio between 2:1 and 3:4. X says a single photo in that range displays in full. X does not specify one universal pixel canvas for ordinary post photos, so treat the ratio as the requirement and verify the composition in the post composer.
If by “preview image” you mean the thumbnail generated for a website link, that is a different asset. The current official X pages reviewed here do not confirm one universal pixel size for an organic link-card image. Do not substitute an advertising specification or an old third-party recommendation for an official organic-card requirement.
First, identify which X image you mean
“Twitter preview image” can describe several unrelated assets. The correct dimensions depend on where the image appears:
The Tool Desk
Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →| Image context | What the current X guidance establishes | What it does not establish |
|---|---|---|
| Photo attached to a regular post | A single photo with a standard aspect ratio from 2:1 through 3:4 displays in full. | One mandatory pixel width or height. |
| Organic website link card | The official pages reviewed do not provide a universal pixel recommendation. | That a familiar 1200 × 628 canvas is an X requirement. |
| Paid image ad | Placement-specific creative sizes and ratios, such as 800 × 418 and 800 × 800, are documented. | That ad dimensions apply to organic posts or link cards. |
| Media Studio upload | JPG or PNG, up to 20 MB and up to 8192 × 8192 pixels. | That these limits describe how an organic preview card is rendered. |
| Profile photo or header | 400 × 400 for a profile photo and 1500 × 500 for a header. | That profile dimensions are post-image dimensions. |
Use the row that matches your workflow rather than searching for one “Twitter image size” that covers every placement.
#1 Best Overall
Regular X post photos: the direct answer
Aspect ratio supported in full
X’s photo-posting guidance states: “When you Post a single photo, images with standard aspect ratios (between 2:1 and 3:4) will display in full to allow for a taller photo, without sacrificing quality, relevance, or engagement.” Read that as a width-to-height range. A 2:1 image is wide; a 3:4 image is taller than it is wide.
The statement describes display behavior, not a minimum-resolution specification. You can therefore choose a pixel canvas that suits your source and delivery needs, provided its aspect ratio falls within the stated range. For example, 1600 × 800 is 2:1, while 1200 × 1600 is 3:4. Those examples illustrate the ratio; they are not mandated X canvases.
Source: X Help Center: How to post photos or GIFs on X.
How to prepare the file
- Choose the final crop before exporting. Keep faces, logos, captions and product details away from the extreme edges.
- Check the width-to-height ratio. Keep a single attached photo between 2:1 and 3:4 if you want X’s stated full-display behavior.
- Export a clear JPG or PNG at a sensible resolution for the artwork. The ratio is more important here than chasing an invented “official” pixel number.
- Attach the image in the X composer and inspect the preview at the size you will actually use. Adjust the crop if an important detail feels too close to an edge.
- Add alternative text for people using screen readers. X documents the process in its image-description help page.
Website link previews: no confirmed universal organic size
A link preview is generated from a URL’s metadata and is not the same as uploading a photo directly to a post. The official X sources reviewed for this guide do not establish one current, universal pixel recommendation for an organic website-card image.
Rank #2
That means you should not present 1200 × 628, 800 × 418, or any other number as an X-mandated organic-card size without a current primary source specifically covering organic card metadata and rendering. Advertising specifications describe paid creative, not the image selected for an unpaid link post.
What you can control
- Set a deliberate social-sharing image in your site’s metadata and make the important subject readable when reduced to a card.
- Keep essential text and logos inside a generous safe area because the card may be displayed at different widths.
- Test the URL in the X composer after publishing metadata changes. Cached card data can make an old image appear temporarily.
- Use a source image with enough resolution for your design, but do not describe that working choice as an official X pixel requirement.
If a campaign, client brief or ad platform requires an exact card canvas, document that requirement separately from X’s current organic guidance.
Paid X image ads use placement-specific specifications
X’s advertising documentation gives different recommendations for different formats and placements. Examples include:
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
| Ad guidance example | Pixels | Ratio | Scope |
|---|---|---|---|
| Applicable image-ad creative | 800 × 418 | 1.91:1 | Placement-specific paid creative |
| Applicable square creative | 800 × 800 | 1:1 | Placement-specific paid creative |
| Listed 1:1 format | 1080 × 1080 | 1:1 | Format-dependent |
| Listed 1.91:1 format | 2064 × 1080 | 1.91:1 | Format-dependent |
| Listed 16:9 format | 1920 × 1080 | 16:9 | Format-dependent |
| Listed 9:16 format | 1080 × 1920 | 9:16 | Format-dependent |
| Expanded 4:5 format | 1440 × 1800 | 4:5 | Where that format is specified |
| Expanded 2:3 format | 1080 × 1620 | 2:3 | Where that format is specified |
Confirm the placement and format in the current campaign interface before exporting. X’s creative specifications page is the controlling reference for paid assets. Its Promoted Ads FAQ also cautions that there are no “one-size-fits-all specifications” because X appears across devices, platforms and screen resolutions: Creating Promoted Ads FAQ.
Media Studio limits are upload limits, not preview dimensions
For images uploaded to Media Studio, X lists JPG or PNG files up to 20 MB and a maximum resolution of 8192 × 8192 pixels. These are operational limits for that library. X explicitly says the instructions apply to Media Studio only, not the developer API, Pro Media API, desktop upload or mobile upload.
Do not use 8192 × 8192 as a recommended post-preview canvas. It is a maximum upload resolution, and a square maximum does not tell you how a regular post or link card will be displayed. See Media Studio Library.
Profile photo and header dimensions
Profile assets answer a different question. X recommends a 400 × 400 pixel profile photo and a 1500 × 500 pixel header image. These figures are useful when customizing an account, but neither is the size for an attached post photo or an organic website card.
Because a header is viewed across devices, keep critical artwork away from areas that may be obscured by the profile photo or responsive layout. The dimensions and profile instructions are at How to customize your profile.
Rank #4
A practical decision checklist
- Posting one photo: keep the ratio between 2:1 and 3:4, then inspect the composer preview.
- Sharing a URL: treat the image as an organic link-card asset; no universal official pixel size is established by the sources reviewed.
- Running an ad: choose the exact placement and use the corresponding X Ads specification.
- Uploading to Media Studio: stay within JPG/PNG, 20 MB and 8192 × 8192 limits.
- Editing your profile: use 400 × 400 for the profile photo and 1500 × 500 for the header.
Common mistakes and fixes
“I used 1200 × 628, so it must be the official size”
That canvas may be a practical design convention, but the evidence here does not establish it as a universal organic X-card requirement. Label it as your chosen social-sharing image size, not as an X rule.
“The image is being cropped even though the ratio is supported”
Check whether you attached multiple images, used a different placement, or are looking at a client with its own responsive layout. Reopen the composer preview and verify the actual single-image crop.
“My ad was rejected after I used an organic-post image”
Paid placements have their own format and ratio requirements. Compare the campaign placement with the current X Ads creative specifications instead of relying on the organic-post range.
“Media Studio rejects my file”
Check the file type, 20 MB limit and 8192 × 8192 maximum. Also confirm that you are actually uploading to Media Studio; the same limits should not be assumed for every X upload path.
Best Value
“The link card still shows the old image”
Verify the page’s sharing metadata, publish the change, and test the URL again in the composer. A previously fetched card can remain cached for a period that is not specified in the official material used here.
Or skip the browser setup
If you need a reliable screenshot of a page that contains an X preview, ScreenshotNeo can capture the URL through one request. Before capture, it accepts cookie or consent banners like a visitor and removes more than 60 known consent platforms, newsletter popups and chat widgets; each step can be disabled. Only clean shots are billed: bot checks or CAPTCHAs, blank pages, timeouts, failed loads and cache hits cost nothing, and the response identifies the result with X-Page-Verdict and X-Billed headers. It also provides an MCP server for Claude, Cursor and other MCP clients, with take_screenshot, get_page_info and capture_pdf tools.
cURL:
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp
Python:
import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://stripe.com"}, timeout=90)
open("shot.webp", "wb").write(r.content)
Node.js:
const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://stripe.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);
See the ScreenshotNeo documentation for request options. The Free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000. Create a free ScreenshotNeo account.
Frequently Asked Questions
Does X require a specific DPI setting for post images?
The guidance covered here specifies an aspect-ratio range for a single attached photo, not a DPI value. Export according to your design workflow and check the composer preview.
Do these dimensions apply identically in every X app?
No. X’s ad FAQ notes that the service appears across devices, platforms and screen resolutions. Responsive rendering can therefore differ by context.
Can I use the profile header size for a post image?
You can upload many image shapes, but the 1500 × 500 figure is profile-header guidance and does not define regular post-photo or link-card behavior.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.
Recommended Free Tools

