How To Change Woocommerce Product Image Size


WooCommerce 3.3 introduced a new and easier way to resize the product images. You can now change the WooCommerce Product Image Size from Appearance > Customize > WooCommerce > Product Images. And the great things is you don’t have to regenerate the images after resizing them. From WooCommerce 3.3 you can now crop, resize and automatically regenerate images all from the Appearance > Customize > WooCommerce > Product Images.

Product Image settings are moved from WooCommerce > Settings > Products > Display to Appearance > Customize > WooCommerce > Product Images.

Resizing Single Product Image

Follow these steps to change single product image size:

  1. Go to Appearance > Customize
  2. Then go to WooCommerce > Product Images
  3. Write your desired width in “Main image width” field.
  4. Click on “Publish

Note: Height of single or main product images will remain uncropped and not affected by the cropping settings.

One of the cool features introduced in WooCommerce 3.3 is automatic thumbnail resizing. Meaning after setting the width all of your product images will be automatically resized and regenerated in the background. Previously we had to install “Regenerate Thumbnails” plugin to regenerate the images to new resolution.

Resizing Product Thumbnail Image

Follow these steps to change shop, catalog or product category image size:

  1. Go to Appearance > Customize
  2. Then go to WooCommerce > Product Images
  3. Write your desired width in “Thumbnail width” field.
  4. You can set the height of the images in “Thumbnail Cropping
  5. Click on “Publish

Height of Shop Product Images

Setting the Height of the Shop or Catalog Images:

Thumbnail Cropping

  •  1:1: If you select 1:1, your images will be cropped into 360px width and 360px Height (assuming you have set the image width 360px in Thumbnail Width field.
  • Custom: In Custom you can select the aspect ratio of the image. Here is some of the popular aspect ratio (1:1, 5:4, 4:3, 3:2, 16:9 and 3:1).
  • Uncropped: Height of the image will be untouched. Images will display using the aspect ratio in which they were uploaded.

Frequently Asked Questions:

Missing Main Image Width and Thumbnail Width Fields

One of the common issue after updating to WooCommerce 3.3 is, after updating store owners say that “I can’t seem to find the Main Image Width and Thumbnail Width Fields in my Appearance > Customize > WooCommerce > Product Images.” The reason behind this is, your theme has declared WooCommerce support and defined those settings in themes functions.php. If it’s predefined then they are removed from the customizer. So basically, If your theme declares image size in theme support, image width settings are not available.

How can I change it if it’s set by Theme Developer

You have to remove or change the image width settings from your themes functions.php file. For example, In Storefront, you will not find any Main Image or Thumbnail field settings. Because they declared that beforehand in storefront/inc/class-storefront.php

Single Product Image has been set to 416px wide and thumbnail to 324px wide. In that case, you can either remove these two lines or change the width number to your desired width. But make the change after creating a child theme; otherwise, it will revert back to previous settings if you update the theme.

How Do I Set Catalog Image Sizes?

From WooCommerce 3.3, both Shop product images and catalog or category images are resized based on the settings from Appearance > Customize > WooCommerce > Product Images > Thumbnail Width field.

WooCommerce 3.2 or Below

Depending on the theme you are using, featured product image of your Woocommerce single product page may appear small, blurry or even too large and stretched out.You can fix your WooCommerce product image size of your Single product page easily. Process is straight forward and simple, just follow these steps:

Step 1: Changing Single Product Image Size

  1. Go to WooCommerce -> Settings
  2. From top, Click on “Products” tab
  3. Click on “Display”
  4. Now scroll down to “Product Images” section
  5. Write your desired height & width in “Single Product Image” field
  6. Click on “Save Changes”

Note: Make sure “Hard Crop” is selected.

WooCommerce image size

Step 2: Regenerate Thumbnails

Now this new image dimension settings will not take effect to your existing product images. For this to take effect in previously uploaded product image, you need to regenerate those images to new image dimension.

Follow these steps to regenerate previously uploaded images:

  1. Download and Activate Regenerate Thumbnail
  2. Go to Tools -> Regen. Thumbnails
  3. Click on “Regenerate All Thumbnails”
Regenerate images to new settings.
Regenerate images to new settings.

Now go to your single product page and refresh the page. You will find that your product image is now regenerated to your specified dimension.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.