Cropping Mode

This is an experimental setting that may be subject to change in future updates.

To enable this setting, add this code snippet to your theme functions.php file: add_filter('enable_experimental_features/crop_mode', '__return_true' );

Resize without cropping (default)

This option will resize the image to fit within the selected size such as a "WooCommerce thumbnail" while maintaining the aspect ratio of the original image. This option will not cut off any parts of the image, so if the original image's aspect ratio is different from the selected size, there may be white space around the edges of the image. For example, if you have a rectangular image and you select a square size, the image will be resized to fit within the square size while keeping the rectangular shape, which means there will be white space on the top and bottom of the square.

Resize with cropping

This option will resize the image to fit within the selected size such as a "WooCommerce thumbnail") by cutting off parts of the image that exceed the selected size, while maintaining the aspect ratio of the original image. This means that parts of the original image may be cut off to make the image fit within the selected size. For example, if you have a rectangular image and you select a square size, the image will be resized and the parts of the image that exceed the square size will be cropped off, which means parts of the image on the left and right sides will be cut off.

Last updated