Post Script Responsive Images Plugin
SRCSET responsive images on wordpress for content images.
In short, this plugin modifies “the_content()” and the post thumbnail function by re-rendering the images with use of the SRCSET attribute. Other plugins do this for templated images, but not in the content region itself. This plugin will automatically work with any previously uploaded images as well.
Installation
- Upload
post-script-responsive
folder to the /wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
Screenshots
Banner Image SRCSET Code
Content Section Image SRCSET Code
Changelog
1.0.0
1.0.1
1.0.2
- Added Support for Post Thumbnail SRCSET
1.0.3
- Fixed issue with “|” in alt tags
1.0.4
- Stopped reszing for “.gif” images to prevent overriding animations
2.0.0
- Decided to move to using WordPress generated images instead of the SLIR library to have greater compatibility.
2.1.0
- Restructured the plugin code to give it a better namespace to avoid any potential conflicts
- Better documented plugin code