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

Maximum Image Size

外掛說明

Sometimes, it’s not necessary to keep copies of full resolution images on your web server. But, when you solicit images from many sources, you may not be able to rely on users to size images to your specifications. Here’s a very simple plugin that removes the full resolution image and replaces it with an image resized to your preference.

The plugin makes no changes to your database and is written with just 17 lines of code.

安裝方式

1) From with in the WordPress Admin Panel, Navigate to Plugins >> Add New >> Upload Plugin. Upload the zip file (which you probably found this file in).

2) Activate the plugin.

This plugin has no configuration. It works based on the Large image size, a configuration option which already exists in the WordPress core. You may configure this by navigating to Settings >> Media.

Tip: If you do not wish to retain a Medium image, set both Max Width and Max Height to 0.

使用者評論

2016 年 12 月 2 日
It does exactly what it says it does, but it keeps the original images on the server, can you please give me lines of code to add to this plugin that will automatically delete the original sized files from server and keep just the processed ones? i.e. large, medium and thumbnail
閱讀全部 1 則使用者評論

參與者及開發者

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

參與者

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

對開發相關資訊感興趣?

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

變更記錄

1.0

  • Initial release.