WooCommerce Product Image Size: Defaults and How to Change
WooCommerce product image sizes: the three defaults, where to change them, why catalog thumbnails crop badly, and how to regenerate old product images safely.
WooCommerce makes three image sizes from every product photo: woocommerce_thumbnail (300px wide, square-cropped) for shop grids, woocommerce_single (600px wide, uncropped) for the main product image, and woocommerce_gallery_thumbnail (100x100, square) for the small thumbnails under it. You change the first two at Appearance > Customize > WooCommerce > Product Images. The gallery thumbnail has no setting, and old product images only change after you regenerate them.
The three sizes and their defaults
The names and defaults below come from WooCommerce’s image sizes documentation for theme developers.
| Size name | Where it shows up | Default size | Cropping | Customizer control |
|---|---|---|---|---|
woocommerce_thumbnail | Shop page and other product grids | 300px wide | Square (1:1) by default | Width and cropping |
woocommerce_single | Main image on the single product page | 600px wide | Uncropped, keeps the uploaded aspect ratio | Width only |
woocommerce_gallery_thumbnail | Small thumbnails under the main product image | 100x100 | Always square | None |
These come on top of the standard WordPress sizes. One large product photo will usually produce thumbnail, medium, medium_large, large, 1536x1536, 2048x2048, a -scaled copy if it is over 2560px on its longest edge (see why WordPress adds -scaled to images), the three WooCommerce sizes, and any extras your theme registers with add_image_size. The WordPress image sizes cheat sheet lists the standard WordPress sizes next to WooCommerce’s. That is a lot of files per upload, which is part of why large product imports are slow and why a shop’s uploads folder grows faster than a blog’s. See why your uploads folder gets so big if storage is the problem you’re chasing.
The gallery thumbnail surprises people because it has no admin control at all. At 100x100 the file is tiny, so it is the size most likely to look soft on a high-density screen.
What WooCommerce adds per upload: measured
We installed WooCommerce 11.2.2 on a local WordPress 7.1.4 site (WordPress Playground, PHP 8.3, GD image editor) on 2026-11-06 and uploaded one real photo, 5696 x 4784 pixels and 2,416,996 bytes, through media_handle_sideload(), the same code path a Media Library upload uses. The Product Images settings were left at their defaults, and every file written to disk was counted and measured.
| Theme | Files per upload | Bytes on disk | WooCommerce copies |
|---|---|---|---|
| Twenty Twenty-Five without WooCommerce (control) | 8 | 4,589,977 | none |
| Twenty Twenty-Five, Astra or Kadence, with WooCommerce | 11 | 4,688,131 | woocommerce_thumbnail 300 x 300 (23,697 bytes), woocommerce_single 600 x 504 (70,696), woocommerce_gallery_thumbnail 100 x 100 (3,761) |
| Storefront with WooCommerce | 11 | 4,657,525 | the same three names at Storefront’s widths: 324 x 324 (27,372), 416 x 349 (36,415), 100 x 100 (3,761) |
| Blocksy with WooCommerce | 12 | 4,747,853 | WooCommerce’s three plus Blocksy’s woocommerce_archive_thumbnail, 500 x 500 (59,722) |
| OceanWP with WooCommerce | 14 | 5,022,166 | WooCommerce’s three plus three OceanWP sizes |
So WooCommerce adds three files and, for this photo, 98,154 bytes per upload, about 2% on top of the 4.59 MB WordPress core already writes. Most of the disk space goes to the original, the -scaled copy and the large core sizes, which the guide to WordPress thumbnail sizes breaks down for 28 popular themes. To see what three extra files per product photo add up to across your catalog, enter your numbers in the WordPress Media Library Size Calculator.
Two details from that run are worth knowing. The single-product image kept the photo’s shape (600 x 504 from 5696 x 4784), while the catalog thumbnail came out as an exact square. And Blocksy only registered its extra size with WooCommerce active; without WooCommerce it added nothing. The limits: one photo, GD only, WordPress’s default JPEG quality of 82 (how to change that is in stop WordPress compressing your images at 82%). Byte counts will differ for your photos, but the file count depends only on the registered sizes and the photo’s dimensions. Uploads that WordPress 7.1 processes in the browser were not part of the test. To see the copies WordPress will make of one of your own product photos, drop it into the WordPress Image Size Lab.
Where the settings live
Appearance > Customize > WooCommerce > Product Images gives you three controls:
- Main image width: the width of
woocommerce_single. Height is automatic, so the original aspect ratio is kept. - Thumbnail width: the width of
woocommerce_thumbnail. - Thumbnail cropping:
1:1(square, the default),Custom(you type a ratio like 4:3), orUncropped.

There is no height field for the catalog thumbnail, because the height comes from the cropping ratio. There is nothing for the gallery thumbnail either.
WooCommerce’s guide to fixing blurry product images gives one rule for the main image width: set it to match or exceed the largest size your theme displays it at. Uploaded images are resized to the values you enter, so a width that is too small is a common cause of soft product photos.
Before you change anything, check which files a given photo will produce. Drop a real product photo into the Image Size Lab and you get the full list, including whether your source is big enough to fill each size without upscaling.
Why your catalog images look wrong
The catalog thumbnail hard-crops to a square. WooCommerce describes hard cropping as forcing the image to the exact size in the settings, cropping it rather than distorting it. In practice WordPress takes a centre square out of your photo and discards the rest. A 2000x1200 product shot becomes a 1200x1200 slice from the middle, then gets scaled down.
That is fine for a bottle photographed dead centre with margin around it. It goes badly for:
- Long products (skis, cables, curtain rods), where you see the middle third and nothing else
- Off-centre compositions, where the product drifts to the edge of the frame and gets sliced
- Photos where the item fills the frame edge to edge, which lose the ends
- Lifestyle shots with the product in a corner
The usual advice is to switch cropping to Uncropped. That works, but it has a cost. Uncropped means every thumbnail keeps its own aspect ratio, so a grid of mixed portrait and landscape photos looks ragged, and rows stop lining up unless your theme’s CSS handles variable heights. Many shop themes are styled for square thumbnails.
The better fix, if you can manage it, is at the source. Shoot or export every product as a square with the item centred and even padding. A square hard crop then removes nothing, and every size built from it is predictable. Changing the crop setting is the workaround; consistent source images solve the problem.
What hard crop means in WooCommerce
A hard crop is a size registered with cropping turned on, like woocommerce_thumbnail at 1:1 or woocommerce_gallery_thumbnail. WordPress scales the photo until it covers the whole box, then cuts off whatever sticks out, from the centre unless the size asks for another position. Uncropped (a soft crop) does the opposite: the photo is scaled to fit the width and keeps its shape, so nothing is cut. In the test above the same 5696 x 4784 photo gave both: a 300 x 300 square thumbnail, which by WordPress’s crop math is the centre 4784 x 4784 of the photo with 456 pixels cut from each side, and a 600 x 504 single image with nothing cut.
A hard crop never enlarges. If the photo is smaller than the box in one direction, WordPress cuts only what exists, so a product photo narrower than 300px gives a thumbnail that is not square (read from WordPress’s image_resize_dimensions(), not run). If the photo is smaller than the box in both directions, no copy is made at all and the full-size file is used instead.
When the theme locks the widths
If your Product Images panel only offers cropping, your theme declared its own widths when it registered WooCommerce support. WooCommerce’s documentation states that when a theme declares image sizes, the width section is hidden and only the cropping option stays visible. The declaration looks like this:
add_theme_support( 'woocommerce', array(
'thumbnail_image_width' => 400,
'gallery_thumbnail_image_width' => 100,
'single_image_width' => 800,
) );
This is not a bug. The theme’s product layout CSS is usually built around those widths, and letting you change them could break the grid.
You can still override them from a child theme’s functions.php with the woocommerce_get_image_size_{size} filter, where {size} is the size name without the woocommerce_ prefix:
add_filter( 'woocommerce_get_image_size_single', function ( $size ) {
$size['width'] = 1000;
$size['height'] = '';
$size['crop'] = 0;
return $size;
} );
add_filter( 'woocommerce_get_image_size_gallery_thumbnail', function ( $size ) {
$size['width'] = 150;
$size['height'] = 150;
$size['crop'] = 1;
return $size;
} );
The same pattern works for woocommerce_get_image_size_thumbnail. It is also the only way to change the gallery thumbnail, since that size has no setting in the admin.
Overriding a locked width means the generated file no longer matches what the theme’s CSS expects. Often the image just scales down in the browser and looks fine because it is now larger than its box. If the theme uses a fixed-height container, you can get letterboxing or overflow instead. Test on one product before you regenerate the whole catalog.
Changing sizes means regenerating
A new size setting does not rewrite files that already exist. WooCommerce’s documentation says changes are not visible to customers until the customizer is published and the thumbnails have been regenerated to the new dimensions.
You have three ways to do that:
- Let WooCommerce do it in the background. In the WooCommerce source (
class-wc-regenerate-images.php), publishing the customizer or switching themes queues a background regeneration when the size settings have changed. It does not run on multisite. The job relies on WordPress’s scheduled tasks, so on a low-traffic store it can be slow to finish. - Run it from the admin. Go to WooCommerce > Status > Tools and click Regenerate next to “Regenerate shop thumbnails”, as WooCommerce’s blurry images guide describes.
- Run it yourself with WP-CLI. On a large catalog this is the most predictable option. The
wp media regeneratecommand rebuilds every registered size for all images:
wp media regenerate --yes
To rebuild only the WooCommerce sizes, run the command once per size with --image_size. The flag takes one size name; if you repeat it in one command, only the last one counts:
wp media regenerate --yes --image_size=woocommerce_thumbnail
wp media regenerate --yes --image_size=woocommerce_single
wp media regenerate --yes --image_size=woocommerce_gallery_thumbnail
If you run WP-CLI, you can switch off WooCommerce’s background job so the two do not overlap. The filter comes from the same WooCommerce source file:
add_filter( 'woocommerce_background_image_regeneration', '__return_false' );
Two things to know before you regenerate. By default wp media regenerate deletes the old thumbnails it replaces; add --skip-delete if other sites or emails link straight to those files. And no regeneration can create a size larger than your source, because WordPress does not upscale. If you set the main image width to 1200 but your product photos are 800px wide, no 1200px file is created. The browser gets an 800px file and stretches it, and srcset has nothing better to offer.
The size to upload
Aim for square source images at roughly twice your largest configured width: 1200x1200 for a 600px main image, or 1600x1600 if your theme uses 800px. That covers high-density screens and gives WordPress enough pixels to build every size without upscaling. Keep every product at the same dimensions so the grid stays even. The same 2x-the-display-width rule is behind our featured image size guide, if you also need a size for blog posts or the product’s share image.
Still stuck?
If a product photo looks soft rather than wrongly cropped, that’s a different problem. See why WordPress images look blurry after upload for its two usual causes: the 2560px -scaled cap, or a copy that is smaller than the box it fills.
If the sizes are set correctly, you have regenerated, and a product still looks wrong, open the image in a new tab and read the filename. A dimension suffix that does not match any size you configured means something else registered it. No suffix at all means WordPress fell back to the full-size file, which usually means the source was too small for the size you asked for. Run that source file through the Image Size Lab and compare what WordPress should generate with what the browser loaded. When those disagree, an optimizer plugin or a CDN image resizer is often sitting in between.
Sources
- WooCommerce developer documentation: Image sizes for theme developers
- WooCommerce documentation: Fixing blurry product images
- WooCommerce source: includes/class-wc-regenerate-images.php
- WordPress Developer Resources: add_image_size(), image_resize_dimensions()
- WP-CLI handbook: wp media regenerate
- WordPress 7.1.4 source: wp-includes/media.php
William Lopez is the founder of Odie Themes. He builds the free WordPress tools and themes on this site and has been on WordPress.org since December 2019.
FAQ
Questions
What are the three WooCommerce product image sizes?
WooCommerce registers woocommerce_thumbnail for the shop and other product grids (300px wide, square by default), woocommerce_single for the main product image (600px wide, uncropped), and woocommerce_gallery_thumbnail for the small thumbnails under it (100x100, always square). Every product photo also gets the standard WordPress sizes.
Where do I change WooCommerce product image sizes?
Go to Appearance, then Customize, then WooCommerce, then Product Images. You get a main image width, a thumbnail width, and a thumbnail cropping choice of 1:1, custom, or uncropped. If the width boxes are missing and only cropping is shown, your active theme has declared its own widths in code and WooCommerce hides those controls.
Why are my WooCommerce catalog images cropped badly?
The catalog thumbnail hard-crops to a square by default, cutting from the centre of the photo. Any product shot where the item sits off-centre or fills the frame edge to edge loses its ends. Switch thumbnail cropping to uncropped, or re-shoot and pad the source images with even margins so a centre square crop still contains the whole product.
Do I need to regenerate thumbnails after changing WooCommerce image sizes?
Yes. WooCommerce's own documentation says existing images only pick up new sizes after the thumbnails are regenerated. WooCommerce queues a background job when you publish the customizer, and you can also run Regenerate shop thumbnails under WooCommerce, Status, Tools, or use WP-CLI on large catalogs.
Why can I not change the main image width in my theme?
The theme passed fixed widths when it declared WooCommerce support, and WooCommerce then hides the width controls in the customizer. The theme's CSS is usually built around those widths. You can override them with a filter in a child theme, but the product layout may then need CSS adjustments to match.
What size should WooCommerce product images be?
Upload square source images at roughly twice your largest display width, so 1200 by 1200 pixels for a 600 pixel main image, and keep every product consistent. WordPress never upscales, so a source smaller than your configured width produces no file at that size and the browser stretches a smaller one instead.
More guides on this topic
- WordPress Thumbnail Sizes: Why One Photo Becomes 8 Files
- Why WordPress Adds -scaled to Images and How to Stop It
- Stop WordPress Compressing Your Images at 82%
- Why Your WordPress Uploads Folder Is So Large
- WordPress Featured Image Size: 1200×630 + How to Find Yours
- Why WordPress Images Look Blurry After Upload, and the Fix