[WordPress] 外掛分享: OrigiSafe — Advanced Image Optimizer (WebP) — Keep Originals Safe

WordPress 外掛 OrigiSafe — Advanced Image Optimizer (WebP) — Keep Originals Safe 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「OrigiSafe — Advanced Image Optimizer (WebP) — Keep Originals Safe」是 2026-02-10 上架。
  • 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
  • 上一次更新是 2026-02-11,距離現在已有 14 天。
  • 外掛最低要求 WordPress 5.8 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

ipodguy79 |

外掛標籤

webp | images | optimization | media library |

內容簡介

總結:此 WordPress 外掛可將 JPEG/PNG 圖片轉換為 WebP 格式並將 WebP 設為原始文件,並保留原始檔案的安全備份。

問題與答案:

問題:這個外掛如何進行圖片轉換?
答案:外掛會為每個 JPG/PNG 附件生成 WebP 格式的完整圖片和所有由 WordPress 生成的尺寸。轉換是透過 WordPress 的圖片編輯系統(WP_Image_Editor)進行,使用支援 WebP 的 GD 或 Imagick(取決於伺服器支援)。

問題:原始 JPG/PNG 檔案會怎麼處理?
答案:原始 JPG/PNG 檔案會被移至 wp-content/uploads/_originals/...,並且資料夾結構會和上傳結構保持一致。

問題:如何更新 WordPress 以提供 WebP?
答案:附件的「檔案」和元數據會被更新,使得 WordPress 以 .webp 作為附件檔案。同時,附件的 mime 類型也會被更新為 image/webp。

問題:此外掛是否能替換舊的圖片 URL?
答案:若啟用,外掛能在帖子內容和元數據中替換舊的 .jpg/.png URL。替換是序列化安全的,不會破壞序列化數組。

問題:如何使用此外掛?
答案:前往媒體 → WebP Only。設定包括圖片轉換品質、批次處理數量、替換舊的 .jpg/.png URL 選項等。

原文外掛簡介

Keep Originals Safe, convert JPEG/PNG images to WebP and makes WebP the canonical file. WP returns .webp URLs, Keeping originals safely archived.
How it works (high level)

Convert

For a JPG/PNG attachment, the plugin generates a WebP for the full image and all WordPress-generated sizes.
Conversion is done through WordPress’ image editor system (WP_Image_Editor), meaning it uses GD or Imagick (whichever your server supports) with WebP support enabled.

Move originals

The original JPG/PNG files are moved to:

wp-content/uploads/_originals/...

The folder structure mirrors your uploads structure.

Update WordPress to serve WebP

Attachment “file” + metadata are updated so WordPress serves .webp as the attachment file.
Attachment mime type is updated to image/webp.

Optional: Replace old URLs everywhere

If enabled, the plugin can replace old .jpg/.png URLs across:

post content
postmeta

Replacement is serialized-safe (does not break serialized arrays).

Background jobs (keeps running after page reload)
Conversion/repair/sweep jobs are designed to run in the background. They keep ticking even if you refresh the page or close the tab.
The plugin uses multiple loopback methods (admin-post / REST / public tick fallback) so it can keep working even on restrictive hosting setups.
Log + “it looks frozen” note
A rolling “terminal style” log is written to:
– wp-content/uploads/hsbc-webp-only/logs/webp-only.log
If the log appears to freeze in the admin page:
– click Refresh Log, or
– refresh the page
The job may still be running server-side; refreshing the log/page usually catches up.
Usage
Go to Media → WebP Only.
Settings

Quality

WebP quality for conversion (0–100).

Batch size

How many items to process per tick. Smaller batches reduce server load.

Replace old .jpg/.png URLs across content + postmeta (serialized-safe)

Recommended if your site content contains hard-coded image URLs.

Sweep Include / Exclude

Used by the Sweep tools to control which folders are scanned.

Conversion Jobs (buttons)
Start Bulk Convert
– Converts Media Library attachments (JPG/PNG) in batches.
– Moves originals to uploads/_originals/.
– Updates attachment metadata so WordPress serves .webp.
– Optional URL replacement (content + postmeta).
Start Repair/Cleanup
– Repairs inconsistencies if something was partially converted or moved.
– Useful after restores/migrations or if some attachments have mismatched metadata.
– Optional URL replacement.
Start Folder Sweep
– Scans the filesystem for eligible images (based on your Sweep Include/Exclude rules).
– Designed for sites with additional image folders beyond standard uploads.
– Optional URL replacement.
Stop Job
– Stops the currently running job.
Maintenance / Cleanup (buttons)
Delete duplicate _originals
– Deletes backup files in uploads/_originals/ *only when* an identical file already exists in uploads/.
– This is a cleanup tool for situations where originals were restored back into uploads and you no longer need the archived duplicate.
Delete duplicate _webp
– Removes orphaned WebP cache files in:
– uploads/_webp/
– Only deletes WebP files that no longer match anything in uploads/ or uploads/_originals/.
Delete duplicate sweep _originals
– Maintenance cleanup for non-uploads roots (folders under wp-content/) that contain their own _originals/ folders.
– It uses your Sweep Include list to find those roots.
– Only deletes a file from /_originals/ when the same file exists at / AND the file size matches (safe duplicate).
Revert Everything
– Restores original JPG/PNG files from uploads/_originals/ back into uploads/.
– Reverts attachment metadata so WordPress serves the originals again.
Log controls
Refresh Log
– Pulls the latest log tail into the admin screen.
Reset Log
– Clears the log file.
Requirements

WordPress’ image editor must support WebP.

GD with WebP support, or
Imagick with WebP support

If WebP conversion is not supported on your server, conversion/repair/sweep will refuse to run (revert tools can still work).

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「OrigiSafe — Advanced Image Optimizer (WebP) — Keep Originals Safe」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


trunk | 0.0.122 |

延伸相關外掛(你可能也想知道)

  • Smush Image Optimization – Optimize Images | Compress & Lazy Load Images | Convert WebP & AVIF | Image CDN 》Optimize images、啟用 lazy load、調整大小、壓縮以及改善 Google Page 速度,使用由 WPMU DEV 超級團隊齊心研發的強大 WordPress 圖片 Smusher,100% 免費...。
  • EWWW Image Optimizer 》你是否對緩慢的網站感到沮喪?超大的圖片讓你感到 "噁心"?讓 EWWW Image Optimizer 儘可能幫助你的網站加速,提高跳出率並增強 SEO。最重要的是,讓訪客感到...。
  • Converter for Media – Optimize images | Convert WebP & AVIF 》透過使用我們的圖片優化外掛,以 WebP 和 AVIF 圖片來展示,來加速您的網站。將標準 JPEG、PNG 和 GIF 格式的文件替換成 WebP 和 AVIF 格式,可以在不失去品...。
  • WebP Express 》ch means less bandwidth usage and faster page load times., Easy to use - with little effort, WordPress site admins can have their site serving auto...。
  • Modern Image Formats 》外掛介紹:此外掛可在 WordPress 應用程式中增加 WebP 支援,但僅針對新上傳的影像檔案轉換成 WebP 格式,現有檔案不會轉換。預設情況下,WebP 只會針對 JPEG...。
  • Cache Enabler 》Cache Enabler 是個簡單卻強大的 WordPress 快取外掛,使用起來簡單且只需要最小化的設定,最重要的是能夠幫助網站提升效能來達到更快的載入時間。它會將前端...。
  • Perfect Images: Regenerate Thumbnails, Image Sizes, WebP & AVIF 》使用 Perfect Images,輕鬆掌握您的圖像!這個強大的外掛可助您進行圖像優化和管理,輕鬆替換或批量重新生成現有圖像,設置自定義尺寸,提高性能,並為高質量...。
  • CompressX — AVIF & WebP Converter, Media Replacement 》總結:CompressX 是一個免費的 WebP 和 AVIF 轉換與壓縮 WordPress 網站外掛程式。它可以幫助您將 JPG 和 PNG 圖像輕鬆轉換為 WebP 和 AVIF 格式,並對 WebP ...。
  • Optimus – WordPress Image Optimizer 》WordPress圖片優化器, Optimus可自動降低已上傳媒體檔案的檔案大小。根據圖片和格式,可以減少高達70%的大小。每張圖片可以節省數千位元組,這些節省可以對博...。
  • QODE Optimizer 》總結:使用 QODE Optimizer 外掛可以快速且方便地提高網站轉換率和加快載入速度,壓縮、轉換、調整和完全優化網站圖像,操作簡單直觀。, , 問題與答案:, 1. ...。
  • ShortPixel Adaptive Images – WebP, AVIF, CDN, Image Optimization 》ShortPixel Adaptive Images 是一款易於使用的外掛程式,讓您能夠在一分鐘內解決任何圖像相關問題,並提高您的網站核心網頁要素。通常,圖像是網頁上最消耗資...。
  • QuickWebP – Compress / Optimize Images & Convert WebP | SEO Friendly 》QuickWebP 是一款用於 WordPress 的圖像壓縮和優化外掛,當圖片上傳到媒體庫時,會自動將圖片轉換為 WebP 格式。同時,它也優化圖像以提高網站的性能。該外掛...。
  • WP Enable WebP 》這是一個 WordPress 外掛程式,可以啟用 WebP 圖片上傳到媒體庫。, 同時,外掛會在 body 標籤上新增一個類別,以便使用 CSS 選擇器,方便設定背景圖片。, 例...。
  • Allow Webp image 》通常 WordPress 不允許使用 ".webp" 格式的媒體檔案,導致上傳時出現錯誤。為了解決此錯誤,您需要安裝這個外掛。啟用外掛後,即可上傳 ".webp" 圖像檔案,加...。
  • Plus WebP or AVIF 》產生 WebP, , 在媒體庫加入圖片檔時,同時產生相對應的 WebP 檔案。, 透過 AJAX 批量製作網站上所有圖片的 WebP 檔案。, 在背景中製作網站上所有圖片的 WebP ...。

文章
Filter
Apply Filters
Mastodon