Skip to content
ThemesIonic — home
WordPress Tutorials

WordPress Featured Image Size

WordPress has no fixed featured image size: the theme sets the ratio and the display width. How to read both, the numbers for Twenty Twenty-Five, and logo and banner sizes.

Updated 4 min read beginner

WordPress has no fixed featured image size: the theme sets the aspect ratio and the display width, and you upload that ratio at twice that width. For Twenty Twenty-Five that works out to 3:2 at 1290 × 860 or larger. Below: how to read both numbers from any theme, and how to stop a block theme sending a 2560-pixel file to a 645-pixel slot.

The list of files WordPress creates from each upload is in WordPress image sizes.

Classic themes. add_theme_support( 'post-thumbnails' ) adds the Featured image panel to the editor. set_post_thumbnail_size( $width, $height, $crop ) registers a size named post-thumbnail, and the_post_thumbnail() outputs that size unless the template asks for another one. Under the hood it is a normal add_image_size call. With $crop set to true, a cropped file is created at upload, so the crop is part of the file.

Block themes. WordPress turns on post-thumbnails support for every block theme automatically. What you see on the page comes from the Featured Image block in the template, and these attributes control it:

Attribute What it does Default
aspectRatio Applies a CSS aspect-ratio to the image (Square 1:1, Standard 4:3, Classic 3:2, Wide 16:9 …) None: the image keeps its own ratio
scale CSS object-fit: Cover, Contain or Fill cover
width / height Fixed CSS dimensions None
sizeSlug The Resolution control: which generated file to output Unset, so it asks for post-thumbnail

In a block theme, the crop is CSS. The file is not cut. The browser downloads the whole image and Cover trims it to fit the frame.

Twenty Twenty-Five, worked through

Twenty Twenty-Five's theme.json sets contentSize to 645px and wideSize to 1340px. Its templates place the Featured Image block like this:

Template Block settings Display width Upload at least
Single post Aspect ratio 3/2, Cover 645 px (content column) 1290 × 860
Blog home and archive list Aspect ratio 3/2, linked 645 px 1290 × 860
Page No aspect ratio 645 px, image's own ratio 1290 wide
Patterns with wide alignment 16/9, 3/2 or Original up to 1340 px 2560 wide

The 2× covers high-density screens. Doubling the wide slot gives 2680, but WordPress scales anything longer than 2560 down to 2560, so 2560 is the ceiling.

The common "1200 × 675" advice fails here twice: a 16:9 image in a 3:2 Cover frame loses about 8% of its width on each side, and 1200 is less than 2× 645.

The hidden cost: the full-size file by default

Twenty Twenty-Five never calls set_post_thumbnail_size(). When the block asks for post-thumbnail, that size doesn't exist, so WordPress falls back to the full image. For a large upload, that is the 2560-pixel -scaled copy. The sizes attribute is then built from the file's width: (max-width: 2560px) 100vw, 2560px. That tells the browser the image may be up to 2560 pixels wide on screen, so the browser picks a file for the whole window width, not for the 645-pixel slot.

Lazy-loaded images are partly protected, because core adds auto, to their sizes and supporting browsers then use the rendered width. The featured image at the top of a single post is usually the Largest Contentful Paint element, and lazy loading is wrong there, so that protection rarely applies to it.

The fix in a block theme: set the block's Resolution to Large. The control only appears when the block has a real image to show. Open a post that has a featured image, choose Edit template from the Template panel, select the Featured Image block and change Resolution. large is 1024 pixels wide by default, which still covers 645 pixels at 1.6×. sizes becomes (max-width: 1024px) 100vw, 1024px, and srcset still lists every file of the same ratio. The blog list is a separate template, so change it there too.

Measured on a WordPress 7.1.5 test install with Twenty Twenty-Five, a 3000 × 2000 upload as the featured image, single post viewed in a 1440-pixel window:

src          /wp-content/uploads/2026/11/mountain-lake-scaled.jpg   (2560 px)
sizes        (max-width: 2560px) 100vw, 2560px
currentSrc   /wp-content/uploads/2026/11/mountain-lake-1536x1024.jpg
displayed    645 × 430  (aspect-ratio:3/2; object-fit:cover)

The browser downloaded a 1536-pixel file for a 645-pixel slot, about 2.4 times the width it needed; on a wider monitor it moves up to the 2048 or 2560 file.

The fix in a classic theme: register a real size that matches the slot.

<?php
add_action( 'after_setup_theme', function () {
	set_post_thumbnail_size( 1290, 860, true );
} );

Images uploaded before this change keep their old files until you regenerate thumbnails.

Symptom → cause → fix

Symptom What controls it How to check Fix
Sides or top cut off Block: Aspect ratio + Scale Cover. Classic: hard-cropped post-thumbnail Inspect the img: inline aspect-ratio / object-fit (block) or a -WxH filename (classic) Upload in that ratio, set Aspect ratio to Original, or choose Contain
Featured image looks soft The file is narrower than display width × pixel density Compare the src file's width with the rendered width Upload at 2× and regenerate. See blurry images
Featured image is the heaviest request full file plus a sizes value of 2560px Network tab: which file downloaded Resolution → Large, or register a matching size
Changed the size, old posts look the same Files are generated at upload Filename on an old post Regenerate thumbnails

Logo, site icon, header and banners

  • Site Logo block: it outputs the full file. With no width set, the logo displays 120 pixels wide, and the block's Image width control changes that. Upload at about twice the width it displays. Core does not accept SVG uploads without a plugin. If a new logo does not show, see site logo not changing.
  • Classic custom-logo and custom-header: the theme's width and height support arguments feed the cropper, which shows "Suggested image dimensions: … by … pixels." Use those numbers.
  • Site icon: Settings → General → Site Icon, or the Site Logo block's "Use as Site Icon" toggle. WordPress asks for a square image "at least 512 by 512 pixels" and generates 270, 192, 180, 64 and 32-pixel versions.
  • Banners and heroes (Cover block): apply the same rule, display width × 2, capped at 2560. A full-width Cover needs 2560 pixels wide. Compression matters more than dimensions: see how to optimise images.

Core outputs no Open Graph tags. Social previews come from an SEO plugin, so keep the subject centred to survive both crops.

Verify

  1. Open a single post, inspect the featured image and note the src filename, the sizes value and the rendered width.
  2. In the Network tab, confirm the downloaded file is no more than about 2× the rendered width.
  3. Check the blog list on a phone: subjects should not be cut by the 3:2 frame.

Frequently asked

Use the aspect ratio your theme displays, at twice the width it displays. In Twenty Twenty-Five that means 3:2 at 1290 × 860 or larger, because featured images sit in the 645-pixel content column. Uploading more than 2560 pixels on the long side gains nothing, because WordPress scales larger uploads down to 2560.
In a block theme, the Featured Image block has an aspect ratio set and its Scale is Cover, so the browser trims whatever falls outside that frame. In a classic theme, the post-thumbnail size is registered with a hard crop, so the file itself is cut. Upload in the theme's ratio, or change the block's Aspect ratio to Original.
WordPress has no fixed size for either. A classic theme with custom header support shows the exact size it wants in the cropper as "Suggested image dimensions". A banner built with a block, such as a full-width Cover, needs about 2560 pixels wide, which is also where WordPress caps uploads.

Related guides