Linux 软件免费装
Banner图

Australcode Uniform Images – Product Image Resize Without Cropping for WooCommerce

开发者 australcode
更新时间 2026年10月22日 10:08
PHP版本: 8.2 及以上
WordPress版本: 7.1
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

avif product image resize uniform images same size images image resize without crop

下载

0.44.0 0.44.1 0.34.0 0.43.0 0.40.0 0.39.1 0.36.1 0.38.0 0.40.1 0.41.0 0.39.0 0.37.0 0.45.0 1.0.4 1.0.8 1.0.9 0.42.0 1.1.0

详情介绍:

Australcode Uniform Images solves the classic WooCommerce catalog problem: product photos with different proportions that the theme crops brutally to align the grid. This plugin makes them uniform without cropping — it adds smart padding over a colored canvas (white by default), optionally trims the uniform background first to normalize inconsistent margins, and delivers each thumbnail in AVIF + WebP + JPEG using the <picture> element. The result: same size product images across your whole shop — resize product images without cropping and regenerate product thumbnails in bulk, with no catalog limit. Key differentiators Free (no license required) Pro (license required) Integration with other plugins v1.0 non-goals Why this approach Australcode Uniform Images does one job: uniform product thumbnails for WooCommerce grids, served cache-safe. It only touches images on registered WooCommerce sizes, so it coexists with any general image optimizer you already run. Docs, before/after gallery and Pro plans: https://australcode.io/uniform-images/

安装:

Requirements Via WordPress Admin (recommended)
  1. Go to Plugins → Add new in your WP admin, search for "Australcode Uniform Images" and click Install + Activate.
  2. Navigate to the new top-level menu Australcode Uniform Images → Settings and choose your quality preset (default Standard works well for most cases).
  3. Go to Australcode Uniform Images → Bulk regenerate, run a Sample Test with one product to validate visually, then click "Start bulk" to process the full catalog.
Full setup guide, the free-vs-Pro comparison and the Pro license: https://australcode.io/uniform-images/ Via WP-CLI wp plugin install australcode-uniform-images --activate wp acimg health # verify everything is OK wp acimg regenerate # bulk dry-run wp acimg regenerate --start --yes # starts bulk in the background wp acimg purge-cache --orphans --yes # clean up derivatives whose image is gone Pro adds two more commands — wp acimg doctor (extended diagnostics) and wp acimg reset (wipes every persisted artifact: the 6 custom tables, options, post meta, transients and derivative directories, without deactivating the plugin). They ship only in the Pro build, so in the free version they are not registered at all. Pro also unlocks the --stale and --all scopes of purge-cache; the free version runs --orphans. The destructive ones default to a dry-run that only lists what they would change; pass --yes to apply it.

屏幕截图:

  • **Dashboard** — catalog metrics: processed images, generated derivatives, storage used, % savings when serving AVIF vs original, active quality preset, current bulk run, plus at-a-glance counts of images missing alt text, heavily padded, and full-bleed.
  • **Settings** — every option on one page, with section navigation: general, processing, formats & quality, sizes, context filter, frontend delivery, original file, CDN edge, preview, Image SEO and AI alt text. Includes whether uninstalling keeps or deletes the plugin's data.
  • **Bulk regenerate** — test a sample of 1–5 images first, then process the whole catalog in the background, in small batches you can cancel at any time.
  • **Health** — a one-line verdict, then the environment (PHP, WordPress, WooCommerce, image engine, memory, theme) and the plugin's database tables with their row counts. Further down: codec support per engine, migrations and CDN edge detection.
  • **Clean library** — orphan image audit with Bricks Builder + wp_termmeta + WooCommerce shortcodes detection. Trash mode with typed confirmation and audit log. *This screen ships with the Pro license; it is not part of the free download.*
  • **Catalog Watch** — daily cron that detects ghost derivatives, orphan files, and products with broken images. Auto-heal with dry-run preview before applying. *This screen ships with the Pro license; it is not part of the free download.*
  • **AI Alt Text** (Pro, BYOK) — generate accessible alt text per image via OpenAI or Anthropic Vision, enriched with the WooCommerce product title, category and brand. Your own key, no markup.

升级注意事项:

1.1.0 New option Blend background into canvas removes the faint rectangle the photo background left around trimmed cutouts. It stays off when you update, so nothing regenerates until you turn it on in Settings. 1.0.9 A tidier Dashboard (metrics in two full rows, items to review as a list) and the new address of the plugin's site. Nothing to regenerate. 1.0.8 With Keep full-bleed photos on, photos shown at Full size, the default in page builders such as Bricks, are now served in AVIF and WebP. Cutouts, icons and logos stay as the original. Nothing to regenerate. 1.0.7 Bricks image elements with Sources (a different image per screen width) now show the right image on each device, in AVIF and WebP. Nothing to regenerate. 1.0.6 With Keep full-bleed photos on, transparent cutouts that touch the canvas edges get the uniform canvas again, and so do transparent icons or logos served in uniform sizes. Regenerate after updating if you use that setting. 1.0.5 Uniform sizes without a fixed height (0 or 9999) now get a square canvas, palette PNGs get WebP and AVIF with GD, and the Smart Image Resize import detects its Pro version. Regenerate if your theme declares such sizes. 1.0.4 With Keep full-bleed photos on, those photos now keep their own shape also at a 100% content size with no trim padding. Regenerate after updating if you use that setting; nothing else needs regeneration. 1.0.3 With Keep full-bleed photos on, those photos now keep their own shape and size instead of getting white bands on a larger canvas. Regenerate after updating if you use that setting; nothing else needs regeneration. 1.0.2 Fixes a layout shift from the <picture> wrapper in flex and grid themes, and removes the white frame around full-bleed photos. With Keep full-bleed photos on, regenerate after updating; nothing else needs regeneration. 1.0.1 Fixes variation photos in page-builder quick views (Bricks and others), and makes the acimg_should_wrap_in_picture filter cover variation data too. Safe in-place upgrade, no regeneration. 1.0.0 Breaking change: Multi-Site Manager is removed and the paid plans collapse to a single Pro tier. Everything that touches your images is unchanged — same settings, same derivatives, no regeneration. Only the client-site monitoring dashboard is gone; nothing else in the plugin moves. 0.45.0 Housekeeping for paid plans: Pro sections now leave the menu when a license expires, and an expired license is asked to renew instead of to buy. The Pro-only WP-CLI commands moved out of the free build. Every free command is unchanged. Safe in-place upgrade, no regeneration. 0.44.2 Fixes the Clean library audit reporting more images in use than exist in your library, which made the counts impossible to reconcile. Only the displayed number was affected: the orphaned list was always correct and nothing was deleted because of it. Safe in-place upgrade, no regeneration. 0.44.1 Fixes stretched product images at the root: the image now declares its own width and height, so themes without aspect-ratio rules draw it correctly. Also cleans up files when an image is deleted, and logs images that fail to process. Safe in-place upgrade, no regeneration. 0.44.0 Fixes product images breaking theme layouts: the <picture> wrapper the plugin adds was invisible to theme CSS, so image sizing resolved against it instead of the surrounding slot. Safe in-place upgrade — no regeneration, no settings change. 0.43.0 Accessibility fix: decorative images lost their empty alt on the way to the browser, so screen readers read the filename instead of skipping the image. Also fixes images rendering stretched in sliders on WordPress 6.7+. Safe in-place upgrade. 0.42.0 New free Image SEO: alt text, title and caption from your product data on every upload. Fixes a bug where the AI alt text bulk overwrote alt text you had written by hand. Image SEO ships off by default — nothing is written until you turn it on. 0.41.0 New free detection for full-bleed photos being shrunk and framed in white, plus an opt-in setting to serve them edge to edge. Fixes a bug where saving Settings silently reset the content size and regenerated the catalog. Safe in-place upgrade — nothing changes until you opt in. 0.40.1 Maintenance: removed the "More by Australcode" cross-promotion section from the Upgrade screen. Safe in-place upgrade — no settings or data changes. 0.40.0 New free "heavily padded" detection on the Dashboard flags panoramic or very tall product photos that get squared with empty canvas. The admin theme now fully matches the Australcode family. No data or settings changes — safe in-place upgrade. 0.39.1 Polish release: the "Family" submenu is now the unified "Upgrade" page (Pro pitch + "More by Australcode" in one place), a refined menu icon, and completed Spanish translations for the Pro weekly digest. Safe in-place upgrade — no settings or data changes. 0.39.0 Visual refresh: the new Australcode admin theme (green accent) + English-first UI with full Spanish translations included. No data or settings changes — safe in-place upgrade. 0.38.0 Pro licensing and checkout now run through Freemius (our new billing platform). The free version is unchanged and 100% functional — the connection screen is optional, so you can safely click "Skip". Safe in-place upgrade. 0.37.0 Catalog Watch repair now runs in the background — no more timeouts on large catalogs. New free output-format controls and a free Smart Image Resize import command. Safe in-place upgrade. 0.36.1 Page-builder detection now also covers Beaver Builder and Oxygen. Run a Bulk Regenerate ("All used images" scope) to optimize images placed in their templates. 0.36.0 Bulk regeneration now detects images placed in Bricks and Elementor templates (page-builder content). Run a Bulk Regenerate ("All used images" scope) to optimize them. 0.35.0 New opt-in setting: auto-detect transparency. Off by default — existing sites are unaffected. Enabling it regenerates derivatives. 0.34.1 The admin UI is now fully translatable (English bundle 100%). No behavior changes — safe in-place upgrade. 0.33.1 WordPress.org compliance and listing fixes. No user-facing behavior changes. Safe in-place upgrade.

常见问题:

Does Image SEO rename my image files?

No. Image SEO writes the alt text, title and caption attributes — it does not touch filenames. Renaming a file after upload means rewriting every URL that already points at it, and getting that wrong breaks live product pages. If file renaming is what you're after, this is not the plugin for it.

What's the difference between Image SEO and the AI alt text feature?

Image SEO reads your WooCommerce product data — title, category, brand — and builds the alt text from a template. It's instant, free, deterministic, and runs on every upload. AI alt text (Pro) looks at the image itself and describes what it sees, using your own OpenAI or Anthropic key at a fraction of a cent per image. Most stores run Image SEO on everything and AI only on the images where the product name doesn't describe the picture — a lifestyle shot, a detail close-up, a size comparison. They write the same field, so neither runs automatically on top of the other, and neither overwrites alt text you wrote yourself.

Will it overwrite the alt text I already wrote?

No. The automatic path only writes where the field is empty. The plugin also records what it generated, so if you edit an alt text by hand afterwards it's locked — no automatic pass will touch it again. The only way anything gets overwritten is if you click the button on that specific image yourself, or explicitly pick the "replace existing" option on a bulk run — and even then only the alt text is replaced. Titles and captions you wrote are never touched.

Why is the alt text empty on some images?

Because they aren't attached to a product. Image SEO builds the text from the product title, category and brand — a logo, a banner or a blog image has no product to read from, so the plugin writes nothing rather than inventing something. The Dashboard counter reflects this: it reports how many images it can actually fill, not how many are missing alt text.

Do I need WooCommerce?

Yes. Australcode Uniform Images makes WooCommerce product images uniform, so WooCommerce is a hard requirement: the plugin declares Requires Plugins: woocommerce and WordPress blocks activation if WooCommerce is not installed and active. It is not a general-purpose image optimizer.

Is there a limit on how many images I can process?

No. Not on the free version, not on Pro. There is no image cap, no monthly credit quota and no per-site allowance to run out of — the bulk run walks your entire catalog, ten products or thirty thousand. It processes through Action Scheduler in batches, so it survives a worker being killed mid-run and picks up where it stopped instead of starting over. What the size of your catalog does cost you is disk: roughly 700 KB of derivatives per original at the Standard preset. A thousand products with one image each is about 700 MB. That is the real constraint, and it is your server's, not a licence's.

Do I have to pay to get WebP or AVIF?

No. AVIF, WebP and JPEG are generated by the free version and served together in a real <picture> element, with the browser choosing. Modern formats are part of the core of this plugin, not an upgrade — if AVIF were behind a licence, the free version would be shipping the heaviest possible image, which defeats the point. What Pro adds on top of delivery is different in kind: serving through the Cloudflare edge, the library audit, the weekly health monitor, AI alt text and the per-aspect-ratio override. The formats themselves are never gated.

Is it compatible with WooCommerce HPOS (High-Performance Order Storage)?

Yes. Compatibility with custom_order_tables and cart_checkout_blocks is declared from day one via before_woocommerce_init. No manual configuration required.

Does it work with Cloudflare?

Yes, and well. The plugin emits <picture> with <source> per MIME type — it survives Cloudflare APO and any page cache perfectly because it does NOT use Vary: Accept (which would break caching). If you have Cloudflare Pro+, you can enable Image Transformations from Settings → CDN edge. The plugin automatically detects whether CIT is available on your zone and emits /cdn-cgi/image/ URLs that CF transforms on-demand with format=auto. Caution with Cloudflare Polish: if active, it re-compresses the AVIF/WebP that the plugin already optimized — double compression equals visual artifacts. The plugin detects this on the Health page and alerts you with an admin notice. Recommendation: disable Polish, keep APO.

Which image engine does it use?

Imagick (preferred) with libheif for AVIF. GD as fallback. libvips is wired in the code but requires bundled binaries (not included in v0.x — future sprint). The active engine and its capabilities (read/write per format) appear on Health → Image engines.

Do I need anything special for AVIF?

Imagick compiled with libheif (common on modern hosts: Kinsta, WP Engine, SiteGround, recent Cloudways). If Imagick does not support AVIF, the plugin still emits WebP + JPEG and the Health page reports the limitation. You do not get stuck without anything — you just lose the most efficient format.

How much storage does it use?

Estimate: ~700 KB of derivatives on average per original image at Standard preset (varies a lot by content type — product photos with a uniform background compress better). For a catalog of 1,000 products with one image each, that's ~700 MB of derivatives. By default the plugin never modifies your originals — derivatives are separate files, so you need space for original + derivatives. The only exception is the optional "apply trim to original" setting (off by default), which backs up the pristine file first and is reversible with wp acimg restore-originals.

How do I regenerate after changing settings?

Change settings on Australcode Uniform Images → Settings, save (the plugin shows a modal warning you that existing derivatives are invalidated), and then go to Bulk regenerate or run wp acimg regenerate --start --yes. The plugin keeps serving the old derivatives until regeneration completes — zero visual downtime.

Conflicts with Smush / EWWW / ShortPixel / Imagify?

Yes, disable those plugins before installing Australcode Uniform Images. The Health → Doctor page detects them and alerts you. The typical conflict is that those plugins also hook into wp_get_attachment_image and rewrite the HTML — the output ends up inconsistent.

Does it have WP-CLI?

Yes, 9 commands under wp acimg <subcommand>. Seven ship in the free version: health (CI smoke test), stats, regenerate, derivatives , purge-cache, restore-originals, and migrate-from-sir. Two more ship only with Pro: doctor (extended diagnostics) and reset (resets all persisted state without deactivating). Each command supports --format=json, and wp help acimg lists the commands available in your build.

How do I report a bug or request a feature?

Open a support thread in the WordPress.org plugin support forum — the plugin menu links straight to it. For Pro license-related issues, use the "Contact Us" screen in the plugin menu, or email info@australcode.io.

更新日志:

1.1.0 1.0.9 1.0.8 1.0.7 1.0.6 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0 Breaking change — Multi-Site Manager is removed and the paid plans collapse to a single Pro tier. The Agency plan is gone; every paid feature now lives in Pro. If you held an Agency licence it has been migrated to Pro, and everything it unlocked except the client-site dashboard is unchanged. Nothing that touches your images moves. Same settings, same derivatives, same pipeline — no regeneration is triggered by this upgrade. New name in the directory: "Australcode Uniform Images – Product Image Resize Without Cropping for WooCommerce". Same plugin, same slug and same menu entry — the longer name just says what it does. 0.45.0 0.44.2 0.44.1 0.44.0 0.43.0 0.42.0 0.41.0 0.40.1 0.40.0 0.39.1 0.39.0 0.38.0