How To Disable Auto WordPress Responsive Images

Paulund is full of premium tutorials and support to help with your development

Sign up to get full access to all tutorials.

Get Started

Login to your account


As of 4.4 WordPress will automatically add the srcset attribute to the images in your content. The srcset attribute allows you to define different images to use at different viewport breakpoints. The problems comes if you're using a CDN to delivery your images such as Amazon S3 then you could get into the situation where you have image URLs coming from S3 and the srcset images coming from your local site. This means that images will work on mobile devices but not for desktop size screens. There are a couple of solutions to this problem such as using . . .

Get Started