Fixing blurry product images

The majority of blurry product image issues are caused by theme styling, where the design of the theme specifies image dimensions that may not play nicely with WooCommerce.

Note: Anytime a new theme is activated or image dimension settings are changed, previously-created thumbnails will need to be regenerated.

To do so via your WP Admin dashboard, navigate to WooCommerce > Status > Tools > Regenerate store thumbnails.

Update as of WooCommerce 3.3

↑ Back to top

As of version 3.3, theme compatibility and improvements to image rendering and cropping are supported in WooCommerce.

This means that:

  • Blurry images caused by theme incompatibility or overriding code should no longer occur.
  • Store owners can control the width and height of their main images.
  • Thumbnail resizing can be done automatically or manually.
  • Images shown to customers always look great by default, so your products keep selling themselves!

To learn how to use these new features, see Adding and managing products and Adding product images and galleries.

Other solutions

↑ Back to top

If your blurry image issue persists, it could be because:

  • Your image size settings are too small.
  • Original images need to be of a higher resolution.

To solve this:

  • Your image dimensions should match or be higher than those of your theme.
  • Original images you upload should be at least 800×800 pixels or higher to work for most themes.

Image types

↑ Back to top
  • Single product image: The largest image on the individual product details page. It is sometimes referred to as the main/featured image.
  • Catalog image: A medium-sized image used in product loops — such as on the shop page, product category pages, related products, and in upsells and cross-sells.
  • Product thumbnail images: The smallest image required, commonly used in the cart, for widgets, and in gallery images (optional) beneath the single product image.

Standard image dimensions

↑ Back to top

As of WooCommerce version 3.3, product image settings can be found under the Customizer in WooCommerce > Product Images. The image below is what this looks like by default in a theme like Storefront; other themes may change or add additional options.

The Product Images setting in the WooCommerce Customizer.

The images you upload are resized to match the values you input. For example, if your settings are 100×100 pixels and you upload a 300×600 pixel image, it is resized to 100×200 pixels.

You can also choose to hard-crop your images. This forces them to the size specified in the settings (regardless of the raw image you upload), so they are cropped, rather than distorted in scale.

Note: If you change settings after uploading product imagery, you may need to regenerate thumbnails within WordPress for the changes to apply.

Head to WooCommerce > Status > Tools > Regenerate shop thumbnails, and click the Regenerate button.

Find a theme’s product image dimensions

↑ Back to top

The theme you choose determines the maximum size an image will be. You will need to know the dimensions it renders them in to appropriately set those in WooCommerce.

Catalog images

↑ Back to top

Determines where your theme renders catalog thumbnails the largest. In some cases, this is the shop page.

With the developer tools enabled in your browser of choice, right-click the image and select Inspect or Inspect Element. This will tell you the image dimensions. Make a note of this as you will need to use them later.

A store's catalog image highlighted using a browser's 'Inspect element' tool.

In the example above, the largest catalog images are rendered at 324×324 pixels.

Single product images

↑ Back to top

Repeat the process for the single product image — usually the largest image on a product page.

A store's single product image highlighted using a browser's 'Inspect element' tool.

In Storefront, the largest single product image is 800×800 pixels. Although not visibly rendered at that size, this sizing is required for the zoom effect.

Product thumbnails

↑ Back to top

The smallest product image required is likely the thumbnail in the product gallery. Repeat the inspection process mentioned above to get the dimensions.

A store's product thumbnail image highlighted using a browser's 'Inspect element' tool.

In Storefront, it renders at 46×46 pixels.

Adjust image dimensions and regenerate thumbnails

↑ Back to top

Now that we know all thumbnail image sizes for our specific theme, we can add images exceeding the largest dimensions to WooCommerce to ensure that future image sizes will be this size or larger.

Any new product images that are uploaded will now have thumbnails with these settings; they should appear without distortion or blurriness.

Note: Saving changes does not automatically update all previously uploaded product imagery. To update old images, WordPress needs to regenerate the thumbnails.

In your WP Admin dashboard, head to WooCommerce > Status > Tools > Regenerate shop thumbnails, and click the Regenerate button.

Retina support

↑ Back to top

High Dots Per Inch (HiDPI) displays — commonly known as retina displays — contain twice as many pixels (or more) than older displays. For pixel-perfect imagery on retina displays, set your thumbnails to double the size rendered by the theme. For example, if a theme renders images at 80×80 pixels, you want them to be 160×160 pixels.

Note: This approach can impact performance, as larger images take longer to load. This is a personal preference; we recommend consulting your analytics before making a decision. Your stats should tell you which devices and screen sizes the majority of your customers use.

Questions and support

↑ Back to top

Do you still have questions and need assistance? 

This documentation is about the free, core WooCommerce plugin, for which support is provided in our community forums on WordPress.org. By searching this forum, you’ll often find that your question has been asked and answered before.

If you haven’t created a WordPress.org account to use the forums, here’s how.

  • If you’re looking to extend the core functionality shown here, we recommend reviewing available extensions in the WooCommerce Marketplace.
  • Need ongoing advanced support or a customization built for WooCommerce? Hire a Woo Agency Partner.
  • Are you a developer building your own WooCommerce integration or extension? Check our Developer Resources.

If you weren’t able to find the information you need, please use the feedback thumbs below to let us know.

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.