跳到内容

WURFL Image Tailor (WIT)

v0.9.08

Takis Bouyouris · 2015年4月13日 上架

Sets up the sources of your images so that they are served via the WURFL Image tailor service (WIT) http://web.wurfl.io/#wit.

正在使用
10 以下
评分
5.0 / 5
累计下载
1,364
最近更新
2016年3月31日
1 条评价需要 WordPress 4.0+已测试到 4.5.33

截图

Plugin is installed and activated.
Plugin is installed and activated.
Images are automatically delivered via the WURFL Image Tailor service.
Images are automatically delivered via the WURFL Image Tailor service.

Deliver downsized images to mobile devices

WURFL Image Tailor (WIT) http://web.wurfl.io/#wit is an automatic image transformation and delivery service, based on
the WURFL device detection library http://web.wurfl.io/#learnmore. WURFL will detect the device, and its screen size
and it will resize and optimize (downsize) each image accordingly.

This plugin hooks automatically into the WordPress HTML image code generation process and changes each image’s src
attribute, so that it is optimized for that specific device and delivered via the WURFL Image Tailor service.

The plugin also filters the post contents to replace the src attribute of images in it. But it currently does this for
all (!) images that it finds in the post contents. Right now it does not replace the href attribute of links that
point to images in the media gallery.

Use WordPress functions and filters

Make sure you use functions like:

  • the_post_thumbnail(…)
  • wp_get_attachment_image(…)
  • the_content(…)

However, do not use wp_get_attachment_image_src(), because we cannot hook into it (yet)! Right now the plugin hooks
into these WordPress filters:

  • wp_get_attachment_image_attributes
  • the_content

Adaptive Images

Also, checkout Adaptive Images for WordPress https://wordpress.org/plugins/adaptive-images/ a self-hosted, transparent mobile images solution.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums