Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

PB Responsive Images

Beskrivning

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.

Skärmdumpar

  • The configuration page

Installation

  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.

Vanliga frågor

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

Recensioner

3 september 2016
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.
Läs alla 7 betyg

Bidragsgivare och utvecklare

”PB Responsive Images” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”PB Responsive Images” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

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!