
內容簡介
PB Responsive Images 外掛會自動將文章內容中的所有圖片重新格式化為與 Responsive Images Community Group 在 w3.org 上提出的 picture 標籤類似的格式。
預設設定提供了 Twenty Eleven 佈景主題所需的必要影像尺寸作為參考,您必須自訂設定以最符合您的佈景主題。每個影像都會基於標準的 CSS media queries 和 SLIR 影像查詢對結果進行重新格式化,這樣就能夠有許多不同的查詢組合可以讓您擁有更大量的彈性。例如,當螢幕寬度大於 500 像素時,符合 media query (min-width:500) 和改變大小查詢 w700 的影像寬度最多只會顯示在 700 像素寬的畫面上。此外,外掛還提供了短代碼,可以讓您針對每個影像自訂使用的查詢,還有幫助函式,可以讓您針對每個文章或版面自訂使用的查詢。
若需要額外的資訊或協助於實施此外掛,請使用位於外掛畫面右上角的「幫助」標籤,其中有關於外掛的各個部分的詳細說明。如果這不夠幫助,請在 WordPress.org 上的 論壇 上發佈您的問題。
外掛標籤
開發者團隊
原文外掛簡介
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.
