Linux 软件免费装
Banner图

Crates Product Image Processor for WooCommerce

开发者 cratesdigital
ahmd3tf
更新时间 2026年8月8日 07:11
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce imagick canvas image processing product images

下载

1.3.0 1.3.2 1.2.0

详情介绍:

Crates Product Image Processor saves you from manually opening every product photo in Photoshop before it goes live. As soon as an image is uploaded directly on a WooCommerce Product edit screen, the plugin steps in — before WordPress even generates its thumbnail sizes — and automatically standardizes it to your store's exact specifications. What it does to each image: Bulk-process existing images, on your terms. New uploads are processed automatically, but what about the products you added before installing this plugin? Under Media → Bulk Process Images, you can open the familiar WordPress Media Library picker, hand-select exactly the images you want processed, and run them through the same canvas pipeline — with a progress bar and a per-image success/failure log. Nothing is selected by default and nothing runs automatically: since many sites reuse the same Media Library for blog posts, sliders, and other design elements that should never be touched, this tool only ever processes images you explicitly pick. Where it applies (and where it doesn't): This only ever runs on images uploaded directly through a WooCommerce Product edit screen (including the product gallery uploader). Uploads to regular posts, pages, sliders, or any other part of your site are left completely untouched. Requirements:

安装:

  1. Upload the product-image-processor folder to the /wp-content/plugins/ directory, or install directly from Plugins → Add New by searching for "Crates Product Image Processor for WooCommerce."
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Go to Settings → Product Image Processor to configure:
  4. Canvas width and height (in pixels)
  5. Internal padding/offset between the product and the canvas edge
  6. Canvas background color (hex)
  7. Trim tolerance / fuzz percentage
  8. Background removal tolerance (keep this low — see the FAQ)
  9. Whether undersized images should be upscaled to fill the canvas
  10. Upload a new image on any WooCommerce product to see it applied automatically.

升级注意事项:

1.3.2 Fixes light-coloured products (silver, white, pale grey) having chunks eaten out of them by background removal. Adds a separate, conservative Background Removal Tolerance setting plus an automatic guard. Re-process any affected images from their originals in uploads/cdpip-originals/. 1.3.1 Important fix: earlier versions could erase white areas inside a product and replace them with the canvas color. Check images processed by 1.3.0 or earlier; originals are in uploads/cdpip-originals/. The bulk tool now needs manage_woocommerce, not upload_files. 1.2.0 Internal option names changed prefix — if you were running a pre-release build, revisit Settings → Product Image Processor after updating to confirm your canvas preferences are still set as expected.

常见问题:

Does this affect images uploaded to regular posts or pages?

No. Processing only triggers for uploads made directly on a WooCommerce Product edit screen. Everything else is left exactly as uploaded.

Will white products come out with holes in them?

No. Background removal is anchored to the edges of the image and only travels through background that is connected to a corner, so it stops at the product's outline. Areas of the same colour that sit inside the product — a white label, white packaging, a bright highlight — are preserved. (If you are upgrading from 1.3.0 or earlier, this was not the case, and any images processed by those versions may need to be restored from their backups and re-processed. See the 1.3.1 changelog.)

What happens to my original image?

A copy of the untouched original is saved automatically before processing, in a dedicated subfolder inside your site's uploads directory (wp-content/uploads/cdpip-originals/). The folder ships with an .htaccess file that blocks direct access on Apache; on nginx you will need an equivalent location block in your server config, since nginx ignores .htaccess. Uninstalling the plugin does not delete these backups. If you re-process an image that has already been through the plugin, the existing backup is kept as-is rather than being replaced with a copy of the already-processed file.

What if the trim cuts off part of my product, or leaves too much background?

Adjust the "Trim Tolerance / Fuzz" setting. Lower it if the trim is too aggressive and removing parts of the product; raise it if too much background is being left behind. Trimming works inward from the edges and stops as soon as it meets the product, so a generous value here is safe.

Part of my product looks chewed away or dissolved at the edges. Why?

That is the "Background Removal Tolerance" setting being too high for that product. The two tolerance settings do very different things. Trimming crops the outer margin and stops at the product. Background removal spreads inward from the image corners, so if the tolerance is wide enough to include the product's own colour, it will flow out of the backdrop and into the product. This mostly affects light-coloured products — silver, white, pale grey — photographed on a white backdrop, where the body may be only 10-15% away from the background colour. Lower the setting (the default of 6% is safe for almost everything), or set it to 0 to skip background removal entirely and keep the trimmed image exactly as-is. The plugin also checks this automatically: before committing, it measures whether the configured tolerance is spreading further than a thin edge halo could account for, and reduces it if so. When that happens it is noted in your server error log.

Does this require any special server software?

Yes — the PHP Imagick extension. Most managed WordPress and WooCommerce hosts include this by default. If it isn't installed, the plugin will simply skip processing rather than break your uploads.

Can I reprocess images that were uploaded before I installed the plugin?

Yes — go to Media → Bulk Process Images, select the specific images you want processed from the Media Library picker, and run them through the same processing pipeline. You choose exactly which images are affected; nothing is processed automatically. This also regenerates the image's thumbnail sizes afterward, so everything stays consistent across your site.

Who can use the bulk processor?

Administrators and Shop Managers (anyone with the manage_woocommerce capability). It used to require only upload_files, which Authors also hold — too broad for a tool that overwrites files used across the whole site. Developers can adjust this with the cdpip_bulk_capability filter.

Will small product photos look blurry or stretched?

Only if you've explicitly enabled the "Upscale Small Images" setting. By default, images smaller than the canvas area are kept at their original resolution and centered rather than stretched.

更新日志:

1.3.2 1.3.1 1.3.0 1.2.0 1.1.0 1.0.3