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

WP Resized Image Quality

外掛說明

Get better uploaded quality or save bandwidth: Change the JPEG compression-level of uploaded images and thumbnails.

‘Resized Image Quality’ lets you easily change the compression-level of uploaded JPEG images and thumbnails. Set it for maximum quality when you want images to look their best, or take advantage of lower quality settings to save bandwidth.

The only interface is a slider aqdded to the Settings > Media admin page, making this easier to use than other compression plugins or functions.php settings.

螢幕擷圖

  • No complicated media/compression interface. Just one slider added to the Settings > Admin page

安裝方式

  1. Install ‘WP Resized Image Quality’ through the WordPress.org plugin directory, by uploading to your server, or git/grunt/Composer method if you’re that kind of dev
  2. After activating the Plugin, change your image quality settings on the Settings page in WP-Admin: Settings > Media
  3. That’s it. You’re ready to go!

Requirements

  • PHP 5.2 or above
  • WordPress 3.1 or above
  • WP-compatible, server-side image library: gdlib or ImageMagick (ImageMagick is preferred)

常見問題集

Installation Instructions
  1. Install ‘WP Resized Image Quality’ through the WordPress.org plugin directory, by uploading to your server, or git/grunt/Composer method if you’re that kind of dev
  2. After activating the Plugin, change your image quality settings on the Settings page in WP-Admin: Settings > Media
  3. That’s it. You’re ready to go!

Requirements

  • PHP 5.2 or above
  • WordPress 3.1 or above
  • WP-compatible, server-side image library: gdlib or ImageMagick (ImageMagick is preferred)
What was the default image quality in WordPress?

The default image compression setting for JPEGs is 90%.

What about PNG and GIF images? Are they compressed?

WordPress doesn’t currently support PNG compression internally (none at all). There are other image-handling plugins that compress PNGs and GIFs, but they either require server-side tools or a 3rd-party service. For a Plugin using server-side tools, try ‘EWWW Image Optimizer’. For a Plugin using a 3rd-party service, try ‘WP Smush.it’.

How can I update JPEGs uploaded before installing this plugin at a different setting?

First, install this plugin and choose your new compression level. Then install the Regenerate Thumbnails plugin, https://wordpress.org/plugins/regenerate-thumbnails/, and run it. All the regenerated thumbnails will be compressed at the compression % from this plugin.

What happens to uploaded images if I turn the plugin off?

Images uploaded while the plugin was active will stay at their original/old compression level (to recompress them, I recommend the Regenerate Thumbnails plugin). After you deactivate the custom compression setting will be removed and all new images will use WP’s default 90% compression setting.

使用者評論

2016 年 9 月 3 日
Works as expected. Only beef I have is that the plugin description does not mention the most important fact: "compression %" as mentioned in the plugin setting is counterintuitive. Contrary to what one might think, compression % actually means IQ. In other words, "100% compression" means no compression, i.e. 100% image quality. Rather strange, but not a deal breaker. For whatever excellent reason, it didn't work for me initially. See https://wordpress.org/support/topic/not-working-or-what-am-i-missing
2016 年 9 月 3 日
Tested same file with different names for upload and turned compression to 0 none. Not different in size and the 3 smaller sizes were not generated. Anyone know how to currently turn off WP compression. I take care of file size in PSP thank you.
閱讀全部 8 則使用者評論

參與者及開發者

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

參與者

將 WP Resized Image Quality 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

2.1.2

  • Compatibility checks for WordPress 3.9

2.1.1

  • Prevent blank image & PHP-type error when compression-level set to 0%

2.1

  • Add handling of the ‘wp_editor_set_quality’ filter that was added in WP 3.5 for ImageMagick API
  • Update styles to use colors from WP3.8 admin themes
  • Docs & screenshot reflect new placement of slider on the Settings > Media admin page

2.0

  • Move image compression toggle from custom Settings > Image Quality page to Settings > Media
  • Add note to current custom Admin page that UX will permanently move to Settings > Media in v3.0

1.0.3

  • (attempted) Fix WP.org screenshot display

1.0.1

  • Fixed JS error in wp-admin pages, show our JS only in own wp-admin page

1.0

  • Initial release