Riloadr for WordPress is a cross-browser responsive images loader for WordPress 3.0.0 and up.
A cross-browser jQuery responsive images loader for WordPress: The goal of this library is to deliver optimized, contextual image sizes in responsive layouts that utilize dramatically different image sizes at different resolutions in order to improve page load time.
This modification is optimized for use with image sizes defined by WordPress via add_image_size()
.
Table of Contents
- jQuery Optimized: Uses WordPress' built-in jQuery to integrate with Riloadr.
- Easy to configure: Optimize your templates and include the required files and you're done.
- Limit application: The technique will only be applied to images with the class riloadr
- Solid foundation: The plugin is built with scribu/wp-scb-framework
- Mirrors the original: The rest of the features are equivalent to the ones at tubalmartin/riloadr
- Upload the
riloadr-for-wordpress
folder to your plugins directory (ie./wp-content/plugins/
) - Activate the plugin through the 'Plugins' menu in WordPress
- Set options from the Settings->Riloadr menu
- Make sure your stylesheet is set up with the following CSS:
img {max-width: 100%;} .lt-ie8 img{-ms-interpolation-mode: bicubic;} .lt-ie7 img{width: 100%;}
This technique is tested to work with WordPress 3.3.2+, but should theoretically be backwards compatible to 3.0.
As per tubalmartin/riloadr the following browsers have been tested:
Mobile browsers
- Webkit mobile (iOS and Android)
- Opera Mini (iOS and Android). Yes, it sounds incredible!!
- Opera Mobile (iOS and Android)
- Firefox mobile (Android)
- Netfront Life browser v2 (Android)
- Dolphin Browser HD (iOS and Android)
- UC Browser 8+ (Android)
Desktop browsers
- Internet Explorer 6+
- Firefox (Mac and Win)
- Google Chrome (Mac and Win)
- Safari (Mac and Win)
- Opera (Mac and Win)
Mirrors the changelog at WordPress.org. Uses Semantic Versioning.
- Core script updated to Riloadr version 1.3.2.
- Plugin is now considered stable.
- Core script updated to Riloadr version 1.2.0.
- Script is now minified by default, see GitHub/OleVik/riloadr-wordpress for uncompressed script.
- Introduces the experimental ignoreLowBandwidth feature.
- Bugfix for the belowFold option.
- Core script updated to Riloadr version 1.1.0.
- Simplified sizing method.
- Horizontal and Vertical images should now both have Riloadr applied, irrespective of captions.
- Riloadr is now applied to images outside of captions.
- Horizontal and Vertical images should now both have Riloadr applied.
- Added fallback to original size image, when all else fails.
- Public Beta
- Private Beta
- Private Development
Copyright (c) 2012 Tubal Martin, Ole Vik
Riloadr for Wordpress is licensed under the MIT license, the plugin itself is licensed as GPLv2.