[Woocommerce] Resize product image

Woocommerce’s default image size may not be what you want because you may want your product image to be larger or smaller. Although in the article about setting up the overview of Woocommerce, I already talked about the image setting, but maybe I need to write a separate article for you to easily find when needed, because in fact, I have seen a lot of friends. just found out need to do this.

To set the image of Woocommerce, you access the section [textmarker color=”247BFF”]Woocommerce -> Settings -> Products -> Display[/textmarker] and find the item Product image.

woocommerce-hinh-san-pham-01

Catalog photo

This is the part that sets the image size that will be displayed in the product detail page. By default it will be 300×300.

[Woocommerce]  Resize product photo 15

[Woocommerce]  Resize product image 16 Catalog photo

Single product photo

When viewing a product, a large product image will appear on the left and it is a single product image.

[Woocommerce]  Resize product photo 17

Single product photo

Product thumbnails

If you have a product photo library set up, the photos in the gallery will display as thumbnails below the single photo.

[Woocommerce]  Resize product image 18

Product thumbnails

Now I try to change the value a bit for it to be different.

woocommerce-hinh-san-pham-02

[Woocommerce]  Resize product photo 15

And after changing the image size value, it is possible that the product image will not display very well and sharp, or even see the change.

In order for the changes to take effect, we must perform image resizing, which means for WordPress to re-size the image to the new size. Please install the plugin Regenerate Thumbnails enter, then access Tools -> Regen. Thumbnails and click “Regenerate All Thumbnails” to start recreating.

See more:  Fight spam with Google's new No reCAPTCHA in WordPress

woocommerce-hinh-san-pham-03

When it’s done, go to the website to see the results.

[Woocommerce]  Resize product photo 15

P/W: It is recommended to use the Image Cleanup plugin to delete files according to the old image size to reduce the burden on the host.


Source: [Woocommerce] Resize product image
– TechtipsnReview

, , ,

Leave a Reply

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