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…
Read Full Tutorial