该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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!