Disable Responsive Images

Description

Disables responsive images introduced in 4.4. This plugin is only meant to be a temporary solution to fixing conflicts with certain plugins and themes. Responsive images drive the web forward.
Credit for solution goes to Birgir Erlendsson.

FAQ

Why would I ever want to disable responsive images?

You really wouldn’t, but if you absolutely need to because of conflicts with outdated plugins or themes, here it is.

Reviews

Nicely done!

I’m amazed how simple this plugin is. It didn’t completely remove the ‘srcset’ attribute but only removed the extra image sizes it contains. I was using retina support, so it kept the 1x and 2x sizes in srcset but removed all other sizes. Perfect plugin! Huge thanks to the developers/contributors.

HOW ANNOYING was that low-resolution on retina issue? SOLVED!

We had several sites with the issue on high-res mobile screens, with WordPress core serving up severely pixelated images on responsive themes. Ditto on @secludedsea comment above. Unacceptable, WordPress! Fix the issue and give us the control in future releases. Are you kidding? Also worked on 4.2.2 for whatever that’s worth.

Fixed inconsistent image sizes in post lists on an iPad

We had a problem after a theme update. After the update, and regenerating thumbnails using a plugin, images were consistently sized on a Windows desktop and a Surface Pro, but not on at least one iPad. On the iPad some featured images in post lists (widgets) were reduced in size, making the site look inconsistent. I don’t know whether it was the theme, WordPress, or who-knows-what, but this plugin fixed that. Thank you!

Read all 16 reviews

Contributors & Developers

“Disable Responsive Images” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.1

  • Refactor plugin to one line of code.

1.0

  • Initial release.