Title: HostSalt Image Optimizer
Author: boldandigital
Published: <strong>2026 年 5 月 25 日</strong>
Last modified: 2026 年 5 月 25 日

---

搜尋外掛

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

# HostSalt Image Optimizer

 由 [boldandigital](https://profiles.wordpress.org/boldandigital/) 開發

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

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

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

## 外掛說明

HostSalt Image Optimizer connects your WordPress site to the HostSalt IO cloud API
to automatically compress and convert images on upload. No server-side libraries
required — just install, connect and start saving bandwidth.

**Features:**

 * Automatic optimization on upload — no manual steps needed
 * Converts images to WebP or AVIF for maximum compression
 * Smart format selection — picks whichever format saves more
 * Lossless backup — restore originals any time with one click
 * Bulk optimize your entire existing media library
 * Bulk restore all images to their originals
 * Monthly usage dashboard built into wp-admin
 * Works with all themes and page builders
 * Multisite compatible

**How it works:**

When you upload an image, HostSalt Image Optimizer sends it securely to the HostSalt
IO API. The API compresses and converts the image, then returns the optimized version.
The original is kept as a backup so you can restore at any time.

A free plan is available with 50 optimizations per month. Paid plans are available
for higher volumes.

### External Services

This plugin sends image data to an external API service operated by HostSalt:

 * **API endpoints:** https://images.hostsalt.com/optimize and https://images.hostsalt.
   com/usage/{site_id}
 * **Data sent:** image file contents, output format preference, quality setting,
   max width setting, and a unique site identifier derived from your site URL (MD5
   hash)
 * **Data received:** optimized image file
 * **When:** on image upload (automatic), on manual Optimize button click, and during
   bulk optimization

This service is operated by HostSalt. Please review the following before use:

 * Terms of Service: https://hostsalt.com/terms-of-service/
 * Privacy Policy: https://hostsalt.com/privacy-policy/

No personal user data is transmitted. Only image files and site configuration are
sent.

## 螢幕擷圖

[⌊Media library column showing optimization status⌉⌊Media library column showing
optimization status⌉[

Media library column showing optimization status

[⌊Settings page with usage meter and bulk actions⌉⌊Settings page with usage meter
and bulk actions⌉[

Settings page with usage meter and bulk actions

[⌊Format, quality and max-width configuration options⌉⌊Format, quality and max-width
configuration options⌉[

Format, quality and max-width configuration options

## 安裝方式

 1. Upload the `hostsalt-io` folder to the `/wp-content/plugins/` directory, or install
    via the WordPress plugin installer.
 2. Activate the plugin through the **Plugins** menu in WordPress.
 3. Go to **HostSalt IO** in the WordPress admin sidebar to configure settings and 
    view usage.
 4. Upload images — they are optimized automatically.

## 常見問題集

### Do I need to install anything on my server?

No. All processing is handled by the HostSalt IO cloud API. The plugin requires 
outbound HTTPS connections to images.hostsalt.com.

### Are my original images kept?

Yes. A backup of every original image is saved before optimization. You can restore
any image individually or restore all images in bulk from the settings page.

### What image formats are supported?

JPEG, PNG, GIF and WebP images are supported as input. Output can be WebP, AVIF,
or the same format as the original.

### What happens if I reach my monthly limit?

Optimization stops and a notice is shown in wp-admin. Your existing images are unaffected.
You can upgrade your plan or wait for the next billing cycle.

### Does this work with Multisite?

Yes. Each site in a multisite network is treated independently with its own usage
quota.

### Will this slow down my site?

No. Optimization runs after the admin page response is sent (via shutdown hook) 
or via WP-Cron. It is invisible to your site visitors.

### What happens when I delete the plugin?

All plugin data is removed on uninstall — settings, post meta, cron jobs and transients.
Optimized image files on disk are kept (they are your media files).

## 使用者評論

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

## 參與者及開發者

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

參與者

 *   [ boldandigital ](https://profiles.wordpress.org/boldandigital/)

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

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

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

## 變更記錄

#### 1.0.3

 * Renamed: internal identifier `hostimop` changed to `hsio` throughout the plugin
 * Drop-in replacement for HostImop plugin with no data loss on upgrade

#### 1.0.2

 * Fixed: backup files now stored in a plugin-specific uploads directory instead
   of beside the original media file
 * Fixed: `set_time_limit` now scoped to actual optimization tasks instead of running
   on every admin request
 * Fixed: settings form field name mismatch that caused format preference not to
   save
 * Fixed: hardcoded upgrade URL replaced with dynamic value from plugin settings
 * Fixed: error suppression removed from file restore operations to surface failures
   properly
 * Improved: removed unused activation code and internal developer comments
 * Improved: code indentation and structure consistency

#### 1.0.0

 * Initial release
 * Automatic optimization on upload via shutdown hook + WP-Cron backup
 * WebP and AVIF conversion with smart format selection
 * One-click restore of original images
 * Bulk optimize and bulk restore
 * Monthly usage dashboard
 * Multisite support

## 中繼資料

 *  版本 **1.0.3**
 *  最後更新 **1 個月前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 6.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.9.4**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/hostsalt-image-optimizer/)
 * 標籤:
 * [AVIF](https://tw.wordpress.org/plugins/tags/avif/)[compress images](https://tw.wordpress.org/plugins/tags/compress-images/)
   [image optimization](https://tw.wordpress.org/plugins/tags/image-optimization/)
   [media library](https://tw.wordpress.org/plugins/tags/media-library/)[webp](https://tw.wordpress.org/plugins/tags/webp/)
 *  [進階檢視](https://tw.wordpress.org/plugins/hostsalt-image-optimizer/advanced/)

## 評分

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

[Your review](https://wordpress.org/support/plugin/hostsalt-image-optimizer/reviews/#new-post)

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

## 參與者

 *   [ boldandigital ](https://profiles.wordpress.org/boldandigital/)

## 技術支援

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

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