← All articles 7 min read

WordPress Featured Image Size: Recommended Dimensions by Theme

The WordPress featured image (also called post thumbnail) is the primary visual for posts and pages. It appears on the blog index, in social media shares, in related post widgets, and sometimes as the hero image on the post itself. WordPress generates multiple crops of your uploaded image for different contexts — the original upload dimensions determine the quality of every crop.

The safe default: 1200 × 628 px. This works for most themes, meets social sharing requirements (Facebook, Twitter, LinkedIn), and produces clean crops at standard WordPress sizes. If your theme has specific requirements, use those instead.

For WordPress image optimization beyond sizing, see our WordPress image optimization plugin guide.


WordPress Default Image Sizes

WordPress automatically generates these crops from every uploaded image:

Size Name Default Dimensions Used By
Thumbnail 150 × 150 px (hard crop) Widgets, admin, some theme grids
Medium 300 × 300 px max In-content images, some archive grids
Medium Large 768 px wide (height proportional) Responsive layout breakpoint
Large 1024 × 1024 px max Full-width in-content images
Full Original upload dimensions Featured image hero, lightbox
2048 2048 px wide (scaled, since WP 5.3) High-DPI displays

These defaults can be changed in Settings → Media in the WordPress admin. Many themes add their own custom sizes on top of these.

Key point: WordPress scales down but does not scale up. If you upload a 600 × 400 image, the Large (1024 max) and 2048 crops will not exist — WordPress only generates sizes smaller than or equal to the uploaded dimensions. Always upload images at least as large as the biggest size you need.


Each theme uses the featured image differently. Here are the recommended upload dimensions for the most widely used WordPress themes (as of 2026):

Theme Recommended Featured Image Size Aspect Ratio Notes
Twenty Twenty-Five (default) 1200 × 628 px ~1.91:1 Flexible layout, this size works across all templates
Twenty Twenty-Four 1200 × 628 px ~1.91:1 Pattern-based, featured image in post header
Astra (v4.8) 1200 × 628 px ~1.91:1 Registers ast-featured-img (1200×628) for blog archive
GeneratePress (v3.5) 1200 × 628 px ~1.91:1 Clean grid layout, featured image in archive loop
Kadence (v1.2) 1200 × 675 px 16:9 Uses 16:9 for blog header; social share optimal at 1.91:1
OceanWP (v3.6) 1200 × 800 px 3:2 Tall featured image in post header
Divi (v4.25) 1080 × 540 px 2:1 Blog module uses 2:1 crop
Elementor Hello No fixed size Varies Depends on Elementor widget settings; 1200 × 628 safe default
Flavor / flavor themes 1200 × 628 px ~1.91:1 Standard blog header
WooCommerce (products) 800 × 800 px 1:1 Product images are square by default

If your theme is not listed: Upload at 1200 × 628 px. This satisfies the OG image requirement for social sharing (Facebook recommends 1.91:1) and works with the vast majority of themes.


Social Sharing Image Requirements

Your featured image doubles as the social sharing image (OG image) when someone shares your post. Each platform has preferred dimensions:

Platform Recommended OG Image Aspect Ratio Minimum
Facebook 1200 × 628 px 1.91:1 600 × 315 px
Twitter (X) 1200 × 628 px 1.91:1 300 × 157 px
LinkedIn 1200 × 628 px 1.91:1 1200 × 627 px
Pinterest 1000 × 1500 px 2:3 (vertical) 600 × 900 px
WhatsApp 1200 × 628 px 1.91:1 300 × 300 px
Slack 1200 × 628 px 1.91:1 250 × 250 px

1200 × 628 px satisfies Facebook, Twitter, LinkedIn, WhatsApp, and Slack simultaneously. Pinterest is the exception — it prefers vertical images. If Pinterest traffic matters, consider using a plugin like Yoast SEO or Rank Math to set a separate Pinterest-specific image.


Method 1: Theme Settings

Most themes have a featured image size option:

Method 2: WordPress Media Settings

Settings → Media controls the default thumbnail, medium, and large sizes. These affect all images, not just featured images. Change these if your theme relies on the default sizes for featured image display.

Method 3: Code (functions.php)

For custom themes or when the theme does not expose size settings:

// In your theme's functions.php or a site-specific plugin
add_theme_support('post-thumbnails');
set_post_thumbnail_size(1200, 628, true); // width, height, hard crop

// Add a custom size for a specific use case
add_image_size('blog-hero', 1600, 900, true);

After changing image sizes in code, regenerate existing thumbnails with the Regenerate Thumbnails plugin (v3.1.6, GPL-2.0).


Optimization Workflow

Uploading a 5 MB photo as a featured image slows your site. Optimize before uploading:

Step 1: Resize to Exact Dimensions

Use Pixotter's resize tool to resize your image to exactly 1200 × 628 px (or your theme's recommended size). This prevents WordPress from generating unnecessarily large intermediate sizes.

Step 2: Compress

Use Pixotter's compressor to reduce file size:

Format Target Size Quality Setting
JPEG 50-100 KB 80-85% quality
PNG 100-200 KB PNG-8 if possible
WebP 30-80 KB 80% quality

A 1200 × 628 JPEG at quality 82 typically comes in at 60-80 KB — fast to load, visually indistinguishable from the uncompressed version.

Step 3: Choose the Right Format

Content Best Format Why
Photos, gradients JPEG or WebP Smaller file size for photographic content
Screenshots, text overlays PNG or WebP Preserves sharp text edges
Graphics with transparency PNG or WebP JPEG does not support transparency

WebP is the best general-purpose format for web — 25-35% smaller than JPEG at equivalent quality. Most WordPress sites should use WebP with JPEG fallback for older browsers.

Step 4: Add Alt Text

Every featured image needs descriptive alt text for accessibility and SEO. In the WordPress media library, fill in the Alt Text field with a description that includes your target keyword where natural. For guidance on image alt text best practices, see our image SEO guide.


Common Problems

Featured image looks blurry. You uploaded an image smaller than the theme's display size. WordPress scaled it up, introducing blur. Always upload at or above the recommended dimensions.

Featured image is cropped wrong. The aspect ratio of your upload does not match the theme's expected ratio. Resize to the exact dimensions the theme expects. Some themes have a "focal point" setting that lets you control where the crop centers.

Featured image does not appear in social shares. Your theme or SEO plugin is not generating the correct OG meta tags. Install Yoast SEO (v23.x, GPL-2.0) or Rank Math (v1.0.x, GPL-2.0) — both generate OG tags from the featured image automatically. Test with Facebook's Sharing Debugger or Twitter's Card Validator.

Featured image loads slowly. The file is too large. Compress to under 100 KB for JPEG, under 200 KB for PNG. Enable lazy loading (default in WordPress since v5.5 — featured images above the fold should NOT be lazy-loaded; below-fold images should).

Wrong image shows when shared on social media. Clear the OG cache. Facebook: paste your URL into the Sharing Debugger and click "Scrape Again." Twitter: paste into the Card Validator. LinkedIn: append ?v=2 to the URL when sharing. These platforms cache the first OG image they see — if you changed the featured image after the first share, you need to force a re-scrape.


FAQ

What is the best featured image size for WordPress? 1200 × 628 px is the safe default. It works with most themes and satisfies social media OG image requirements (Facebook, Twitter, LinkedIn all recommend 1.91:1 aspect ratio at 1200 px wide).

Does WordPress automatically resize featured images? Yes. WordPress generates thumbnail (150×150), medium (300 max), medium-large (768 wide), large (1024 max), and scaled (2048 wide) versions automatically. The original is preserved. You control the original upload dimensions.

Should I upload larger than needed? Upload at exactly the recommended size. Uploading a 4000 × 3000 photo when you need 1200 × 628 wastes storage (WordPress keeps the original) and generates unnecessarily large intermediate sizes. Resize before uploading.

What format should WordPress featured images be? JPEG for photographs. PNG for graphics with text or transparency. WebP for both (if your server and theme support it — most do since WordPress 5.8 added native WebP support).

How do I set a different image for social sharing vs the featured image? Yoast SEO and Rank Math both have a "Social" tab per post where you can set a custom OG image separate from the featured image. This is useful if your featured image is tall (3:2) but social platforms prefer wide (1.91:1).

Do I need to regenerate thumbnails after changing featured image sizes? Yes. Existing images retain their old crop sizes. Install the Regenerate Thumbnails plugin (v3.1.6, GPL-2.0) and run it once after changing size settings. New uploads will use the new sizes automatically.