WordPress Srcset

Very simple plugin to get retina images on your WordPress site. Automatically load high resoloution images using the new srcset attribute.

Author:Human Made Limited (profile at wordpress.org)
WordPress version required:4.0
WordPress version tested:4.0
Plugin version:1.0.3
Added to WordPress repository:05-10-2014
Last updated:09-10-2014
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:
Total downloads:1 080
plugin download
Click to start download

The new srcset attribute has recently dropped in Chrome and Firefox. It is the simplest way to get retina ready images on your site.

This plugin will automatically add the srcset attribute to your images if a suitable retina sized image can be found.

It also includes a JS polyfill - Picturefill - to ensure that this works on all browsers - not just those that support srcset. This is about 6.5kb, and can easily be dequeued if you only wish to support browsers that have implemented this functionality.

This plugin does not handle generation of the alternative images, and this should either be done manually or using another plugin. See installation instructions for more information.

This plugin requires PHP 5.3


ChangeLog