WP Manifestindependent plugin directory
manifest / ecommerce / woocommerce-image-resizer

Woo Product Image Resizer

Resizes WooCommerce product images to a consistent size, including new product images and batch processing for existing products.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/deus73/woocommerce-image-resizer/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

A lightweight WooCommerce extension that resizes product featured images and gallery images to a consistent size.

Features

  • Resize existing product images in batches.
  • Filter batch resizing by product category.
  • Resize newly assigned product images.
  • Choose exact crop, fit within maximum dimensions, or fit on a fixed canvas.
  • Set target width and height.
  • Set canvas background color.
  • Set JPEG, PNG, and WebP quality.
  • Skip images already processed with the current settings.
  • Regenerate WordPress attachment metadata after resizing.

Requirements

  • WordPress 6.0 or newer.
  • WooCommerce 7.0 or newer.
  • PHP 7.4 or newer.
  • GD extension for canvas mode.

Installation

  1. Upload this folder to wp-content/plugins/woo-product-image-resizer.
  2. Activate the plugin in WordPress.
  3. Go to WooCommerce > Image Resizer.
  4. Save your preferred settings.
  5. Run the existing product image batch if needed.

Important

The plugin overwrites the media file used by each product image. Back up your uploads before running a large batch on a live shop.

Development

php -l woo-product-image-resizer.php

License

GPLv2 or later.