Title: W3ctrl Smart Image Optimizer
Author: W3ctrl Services
Published: <strong>2026 年 9 月 20 日</strong>
Last modified: 2026 年 9 月 20 日

---

搜尋外掛

![](https://ps.w.org/w3ctrl-smart-image-optimizer/assets/banner-772x250.png?rev=
3705158)

![](https://ps.w.org/w3ctrl-smart-image-optimizer/assets/icon-256x256.png?rev=3705158)

# W3ctrl Smart Image Optimizer

 由 [W3ctrl Services](https://profiles.wordpress.org/w3ctrl/) 開發

[下載](https://downloads.wordpress.org/plugin/w3ctrl-smart-image-optimizer.1.0.3.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/w3ctrl-smart-image-optimizer/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/w3ctrl-smart-image-optimizer/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/w3ctrl-smart-image-optimizer/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/w3ctrl-smart-image-optimizer/#developers)

 [技術支援](https://wordpress.org/support/plugin/w3ctrl-smart-image-optimizer/)

## 外掛說明

W3ctrl Smart Image Optimizer reduces Media Library image size on your WordPress 
server. Files are not sent to a remote optimization API.

It uses WordPress image editors (Imagick or GD). Originals can be backed up before
a file is replaced, and a file is replaced only when the result is smaller.

#### Features

 * JPEG and PNG optimization, including optional EXIF/metadata stripping
 * WebP copies next to originals, with optional front-end delivery via a `picture`
   element
 * AVIF copies next to originals when the server can encode AVIF, with optional 
   front-end delivery
 * Resize oversized originals during optimize, plus a manual resize control on the
   plugin Media screen
 * Convert opaque PNG files to JPEG
 * Skip files above a maximum size or below a minimum size
 * Exclude JPEG, PNG, WebP, or selected uploads folders
 * Automatic optimization when images are uploaded
 * Bulk optimization with progress, pause, cancel, and retry failed
 * Dry-run savings estimate before a bulk run
 * Per-image optimize, restore, and resize
 * Original backups; restore one image, restore all, or delete backups
 * Dashboard statistics and server capability checks
 * WP-Cron scheduled optimization
 * Optional LiteSpeed Cache and Cloudflare URL purge after optimize or restore
 * Media Library column, row actions, and bulk actions
 * WP-CLI and a REST API for optimize, stats, and restore
 * Optional removal of plugin stats and backups on uninstall (Media Library files
   are never deleted)

#### Privacy

Images are processed on your own server. The plugin does not phone home and does
not add telemetry.

LiteSpeed cache purge (when enabled) runs only on this server when LiteSpeed Cache
is present. It does not send data to a remote LiteSpeed service.

#### External services

This plugin can optionally connect to Cloudflare to purge cached image URLs after
an attachment is optimized, restored, or resized.

It sends only the affected media file URLs to `api.cloudflare.com`, and only when
an administrator enables Cloudflare purge and saves a Cloudflare Zone ID and API
token in Settings. Image files themselves are not uploaded to Cloudflare. The feature
is off by default.

This service is provided by Cloudflare, Inc.:
 [Terms of Service](https://www.cloudflare.com/terms/)
[Privacy Policy](https://www.cloudflare.com/privacypolicy/)

#### WP-CLI

    ```
    wp sio optimize
    wp sio optimize --limit=100
    wp sio stats
    wp sio restore <attachment_id>
    ```

#### Developers

Filters and actions include `w3ctrl_sio_booted`, `w3ctrl_sio_after_optimize`, `w3ctrl_sio_after_restore`,`
w3ctrl_sio_after_resize`, and `w3ctrl_sio_supported_mime_types`.

The admin menu parent slug is `w3ctrl`. Other W3ctrl plugins can add a submenu under
that slug and register themselves on the `w3ctrl_admin_plugins` filter.

## 安裝方式

 1. Upload the `w3ctrl-smart-image-optimizer` folder to `/wp-content/plugins/`.
 2. Activate the plugin through the Plugins screen.
 3. Open **W3ctrl  Image Optimizer** to review statistics and server capabilities.
 4. Use the in-plugin **Media** and **Settings** links to manage images and options.
 5. Use **Optimize remaining images** or Media Library actions for existing files.

## 常見問題集

### Does this plugin upload my images to a third party?

No. Optimization happens on the WordPress server. Optional Cloudflare purge (off
by default) only sends image URLs when you enable it and save your own Cloudflare
credentials.

### Will original images be overwritten?

When backups are enabled, a copy is stored before a file is changed. A file is replaced
only when the optimized version is smaller.

### What happens if an image cannot be optimized?

That image is marked as failed or skipped. Bulk optimization continues with the 
rest of the queue.

### Can I restore an image?

Yes, if original backups are enabled. Use Restore on the plugin Media screen, in
the Media Library, or `wp sio restore <id>`.

### Does it work with Elementor and WooCommerce?

Yes. The plugin does not require either one. It optimizes Media Library attachments
that those plugins use, and WebP/AVIF delivery wraps standard WordPress image tags.

### What is removed when I uninstall the plugin?

Settings and cron events are always removed. Statistics and backup files are removed
only if you enable **Delete data on uninstall**. Media Library images are never 
deleted.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈W3ctrl Smart Image Optimizer〉的開發相關工作。

參與者

 *   [ W3ctrl Services ](https://profiles.wordpress.org/w3ctrl/)

[將〈W3ctrl Smart Image Optimizer〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/w3ctrl-smart-image-optimizer)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/w3ctrl-smart-image-optimizer/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/w3ctrl-smart-image-optimizer/)，
或透過 [RSS](https://plugins.trac.wordpress.org/log/w3ctrl-smart-image-optimizer/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/w3ctrl-smart-image-optimizer/)。

## 變更記錄

#### 1.0.3

 * Align text domain with the approved directory slug `w3ctrl-smart-image-optimizer`.

#### 1.0.2

 * Prefix dashboard template variables for Plugin Check compliance.
 * Add missing translators comment for resize size string.

#### 1.0.1

 * Document Cloudflare as an optional external service with Terms and Privacy links.
 * Use site_url for the WP-Cron example URL.
 * Rely on WordPress.org language packs instead of load_plugin_textdomain().

#### 1.0.0

 * Initial release.

## 中繼資料

 *  版本 **1.0.3**
 *  最後更新 **2 週前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 6.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.1.2**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/w3ctrl-smart-image-optimizer/)
 * 標籤:
 * [AVIF](https://tw.wordpress.org/plugins/tags/avif/)[compression](https://tw.wordpress.org/plugins/tags/compression/)
   [images](https://tw.wordpress.org/plugins/tags/images/)[Optimize](https://tw.wordpress.org/plugins/tags/optimize/)
   [webp](https://tw.wordpress.org/plugins/tags/webp/)
 *  [進階檢視](https://tw.wordpress.org/plugins/w3ctrl-smart-image-optimizer/advanced/)

## 評分

這個項目尚無任何評論記錄。

[撰寫評分](https://wordpress.org/support/plugin/w3ctrl-smart-image-optimizer/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/w3ctrl-smart-image-optimizer/reviews/)

## 參與者

 *   [ W3ctrl Services ](https://profiles.wordpress.org/w3ctrl/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/w3ctrl-smart-image-optimizer/)