這個外掛並未在最新的 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