Don’t you know how to set the size of product images in WooCommerce? Let’s find the answer!
So, WooCommerce offers to its users the next 3 sizes:
- woocommerce_thumbnail – for product cards in the catalog;
- woocommerce_single – for product page;
- woocommerce_gallery_thumbnail – for product gallery thumbnails on the product page.
We’ll look at them one by one.
Setting Size for Product Images in WooCommerce
Choose this size to display product cards in catalogs.
You can find the settings for this image size in the customizer (Appearance> Customize> WooCommerce> Product Images) and they may seem a little unusual. By the default is 600, cropping 1×1.
The woocommerce_single image size is displayed directly on a product page. In addition, it is not cropped. This means that the image proportions are preserved (what was vertical remains vertical).
The width setting of this size can be changed in the customizer (Appearance> Customize> WooCommerce> Product Images). The default width is 600px.
This size is for thumbnails. By default, It’s 100×100, scaled and cropped firmly to this size and does not have specific settings in WooCommerce.
Many thanks for your attention. Wait for more tutorials!