Image guides

Check a WordPress Thumbnail Crop and Image Sizes

·

Check the crop before you put an image into a WordPress card or gallery. This worked example generates a centered square and four proportional versions from the same source. Use the ZIP when you need separate files for editorial review or theme testing.

Compress Image for WordPress

Open the five files in the download

Load the cedar cabin PNG with Load example or open the linked image from disk. Keep all five size variants, WebP and quality 82. Select Generate WordPress sizes and download the ZIP. It puts the five images and the byte report in one archive.

Open the 150 × 150 thumbnail and check that the crop centers the cabin and removes the transparent strip at the far left. Medium is 300 × 180. Medium Large is 768 × 461 and Large is 1,024 × 614. Full Size keeps 1,500 × 900, since the source fits within the 2,560 × 2,560 cap. The proportional versions retain the original framing.

To check a JPEG alternative, select JPEG and turn off Medium, Medium Large and Large. The ZIP now contains only the thumbnail and full-size images with the report. The full-size JPEG has a white strip in place of the transparent edge.

Download the cedar cabin practice PNGOpen Compress Image for WordPressWordPress image resize geometry

Match your site's actual media settings

Inspect Settings → Media and check the dimensions the theme uses. Plugins, themes and settings can change registered sizes, crop rules, formats and encoding quality. The browser's quality 82 is the default of this workspace. Compare results by appearance and measured bytes when your site uses a different encoder.

Keep a thumbnail source at least 150 pixels wide and tall. The local tool skips a square crop when either side is smaller. It also skips intermediate variants that would keep the original dimensions.

WordPress image resize geometryWordPress attachment sub-size generation

Choose what to upload

Upload Full Size when you want WordPress to create and register derivatives for a single attachment. The ZIP helps you review and deliver individual files. For a template or static file workflow, choose a particular variant and set its URL in your own layout.

WordPress has supported WebP uploads since version 5.8 when the hosting image library supports WebP. Confirm your hosting and publishing workflow before using WebP derivatives. Choose JPEG for a workflow that expects it.

WordPress attachment sub-size generationWordPress 5.8 WebP support requirements

Common questions

Which generated file should I upload to the Media Library?

Upload Full Size if WordPress should generate a single attachment's derivatives. Upload a particular variant separately when you need that exact file for a layout.

Does Medium Large also restrict the height?

The Medium Large preset limits the width to 768 pixels and keeps the source proportions. Medium and Large fit both dimensions to their respective boxes.

Sources

Put it into practice.

Related guides