Linux 软件免费装
Banner图

Australcode Uniform Images

开发者 australcode
更新时间 2026年6月23日 03:34
PHP版本: 8.2 及以上
WordPress版本: 7.0
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

woocommerce thumbnails avif image resize product images

下载

0.40.1 0.36.1 0.40.0 0.37.0 0.34.0 0.38.0 0.39.0 0.39.1

详情介绍:

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. 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.

安装:

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 Image → Settings and choose your quality preset (default Standard works well for most cases).
  3. Go to Australcode Image → Bulk regenerate, run a Sample Test with one product to validate visually, then click "Start bulk" to process the full catalog.
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 reset --yes # Pro: wipe all plugin state (tables, options, dirs) without deactivating The wp acimg reset command (Pro) clears every persisted artifact — the 6 custom tables, options, post meta, transients and derivative directories — without deactivating the plugin. It's destructive and defaults to an interactive confirm; pass --yes to skip it. Useful to start from a clean slate when re-testing settings or migrating.

屏幕截图:

  • **Dashboard** — catalog metrics: processed images, generated derivatives, storage used, % savings when serving AVIF vs original, active quality preset, current bulk run.
  • **Settings** — 4-tier quality preset, per-size override, visual canvas color picker, sticky save bar that appears when changes are detected.
  • **Bulk regenerate** — scope dropdown with real-time count, dry-run with storage and time estimation, embedded sample test with before/after grid.
  • **Health** — full diagnostic: active engine + codec capabilities matrix, DB tables with row count, applied migrations, CDN edge (Cloudflare Polish/Mirage + Image Transformations detection).
  • **Clean library** (Pro) — orphan image audit with Bricks Builder + wp_termmeta + WooCommerce shortcodes detection. Trash mode with typed confirmation and audit log.
  • **Catalog Watch** (Pro) — daily cron that detects ghost derivatives, orphan files, and products with broken images. Auto-heal with dry-run preview before applying.
  • **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.

升级注意事项:

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.

常见问题:

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 Image → 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 are free: health (CI smoke test), stats, regenerate, derivatives , purge-cache, restore-originals, and migrate-from-sir. Two require a Pro license: doctor (extended diagnostics) and reset (resets all persisted state without deactivating). Each command supports --format=json. wp help acimg lists them all.

How do I report a bug or request a feature?

Open a support thread in the WordPress.org plugin support forum (linked from the plugin page sidebar). For Pro license-related issues, contact support@australcode.io.

更新日志:

0.40.1 0.40.0 0.39.1 0.39.0 0.38.0 0.37.0 0.36.1 0.36.0 0.35.0 0.34.1 0.34.0 0.33.2 0.33.1 WP.org re-submission compliance + listing polish. No user-facing behavior changes — safe in-place upgrade. Internal: 296/296 unit tests passing. Full history of older versions (0.33.0 and earlier) is preserved in the project's archive — contact support@australcode.io if you need detail on a specific legacy version.