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

PB Responsive Images

外掛說明

The PB Responsive Images plugin automatically reformats all images in the post content into a format similar to the picture tag proposed by the Responsive Images Community Group on w3.org.

The default configuration provides the necessary image sizes for the Twenty Eleven theme for reference; you’ll have to customize the configuration to fit your theme best. Eace image is reformatted based on standard CSS media queries and SLIR image query pairs, giving a huge amount of flexibility in the variety of query combinations. For example, with a media query of (min-width:500) and a resize query of w700, a version of the image at most 700 pixels wide will display only when the screen is greater than 500 pixels wide. Additionally, the plugin provides shortcodes that allow you to customize the queries used per image, and helper functions that can be used to customize the queries used per post or per layout.

For additional information or help on implementing this plugin, use the “Help” tab on the upper right of the plugin screen, which has detailed explanations on each portion of the plugin. If that doesn’t help, please post your questions to the forums on wordpress.org.

螢幕擷圖

  • The configuration page

安裝方式

  1. Upload pb-responsive-images to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Modify the relevant media queries and resize parameters to match your theme – see the plugin’s contextual help section for details.
  4. Place <?php RIP::get_picture($image,$formats); ?> in your templates, as necessary – see the plugin’s contextual help section for details.

常見問題集

No questions, yet! Is that a good or a bad thing?

使用者評論

2016 年 9 月 3 日
Just had to rename every directory in the wordpress main directory because of this POS of plugin. It locked my site and overused ram. It messed up just everything. Terrible plugin, get away from it.
閱讀全部 7 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈PB Responsive Images〉的開發相關工作。

參與者

將 PB Responsive Images 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.4.2

  • Bugfix for WordPress 3.9

1.4.1

  • Bugfix for WordPress installed in separate directory

1.4

  • Fixes for IE8 compatibility
  • Fixes for warnings in debug mode
  • IIS compatibilty fixes
  • Bug fixes for serving out of a WordPress subdirectory install

1.3

  • Bug fixes for cross browser compatibility
  • Fixed javascript warning that occasionally occurs in IE7/8

1.2

  • Removed content formatting for rss feeds
  • Performance enhancements in the options object
  • Streamlined the image creation pipeline
  • Added ability to bypass slir and provide specific images per media query
  • Corrected html output – now valid html5 syntax

1.1

  • Adding support for relative and root-relative links
  • Adding support for IIS, and the bugs related to Windows hosting

1.0

  • Initial public release!