這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

PBC Image Compress

外掛說明

Performs lossless compression on Jpeg, PNG & Gif Images using JpegOptim, OpimPNG & Gifsicle

Requirements

  • Installed on Server
    • JpegOptim
    • Gifsicle
    • OptimPNG
  • PHP setup
    • Access to exec() function

Important

This will not compress images already in your Media Library! It will only work on newly uploaded images.

Upcoming/Roadmap

  • More PNG Compression Options
  • MozJpeg Compression
  • WP CLI tool
  • Support for compressing images made by Timber
  • Compress on Demand
  • Filterable locations for locating the tools
  • Improve the Tool Loader to use less RAM
  • Internationalisation
  • Include required Binaries with the Plugin

安裝方式

From Github
https://github.com/pbc-web/WP-Image-Compress
Clone the directory into your mu-plugins. The plugin will be active automatically and start compressing new images as they are uploaded.

From WordPress.org

  1. Upload pbc-image-compress.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常見問題集

Why Doesn’t this plugin Work For Me?

You probably don’t have the needed ImageCompression Libraries installed on your server. If you have access to your server they are quite easy to install. if you are on a shared host then please ask your webhost to install them

What about foo bar?

Answer to foo bar dilemma.

使用者評論

2017 年 3 月 10 日
Plugin is incomplete, sends all file types to jpegoptim rather than the correct respective tool. Requires you to install composer packages but no composer.json included. If you get past those two problems, there is an infinite loop.
2016 年 12 月 27 日
One of our galleries was taking over three minutes to load until we installed this plugin.... Went down to less than 3 seconds.
閱讀全部 2 則使用者評論

參與者及開發者

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

參與者

將〈PBC Image Compress〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

0.1

  • Initial Release