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

Mobile Ready Content Images

描述

Server side detection of mobile devices to serve appropriate images in wordpress contents. Detects all mobile devices including all tablet devices such as iPad, iPhones, Nokia Lumia and or Nexus 10 and 7. This plugin uses Mobile_detect from http://mobiledetect.net/ in detecting mobile devices and Simple HTML DOM Parser from http://simplehtmldom.sourceforge.net.

Supported devices

  1. All mobile phones.
  2. All tablet devices.

安裝

This section describes how to install the plugin and get it working.

  1. Upload mobile-ready-images.zip to the /wp-content/plugins/ directory
  2. Unzip the zipped file.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. In your img tags, just put in the url of the images you want to display in mobile as a “mobile” attribute value. Ex: img src=”original-image.png” mobile=”image-for-mobile.png” tablet=”image-for-tablet.png”

常見問題

Can you give an example markup code?

img src=”original-image.png” mobile=”image-for-mobile.png” tablet=”image-for-tablet.png”

Can this work on images outside the wordpress $content strings?

Not yet. As of this moment, this only works on images inside the $content string.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Mobile Ready Content Images” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Mobile Ready Content Images 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

0.0.1

  • alpha version