Plugin này chưa được cập nhật với 3 phiên bản mới nhất của WordPress. Nó có thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress mới nhất.

Mobile Ready Content Images

Mô tả

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.

Cài đặt

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”

Hỏi đáp

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.

Đánh giá

Không có đánh giá nào cho plugin này.

Người đóng góp & Lập trình viên

“Mobile Ready Content Images” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

Nhật ký thay đổi

0.0.1

  • alpha version