Images Broken in Chrome After WordPress 4.4.2 Upgrade

So, I had a client upgrade to WordPress 4.4.2 recently and all of a sudden many of their images disappeared, specifically in Chrome and Firefox.

What I noticed (forgive my being behind the times), is that WordPress introduced responsive images, which includes the srcset attribute on img tags. What it didn’t seem to do was preserve the URL scheme (HTTPS) that my client was using.

Since Google likes sites over HTTPS now, this is a big uh-oh. Here’s how we fixed it:

Drop that in your functions.php or a must-use plugin and you’ll be gold. Big thank you to this support post at

Happy WP’ing!

No Comments

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a Comment

February 19, 2016

Filed in Development, Wordpress

There are 0 comments »

« Back to the Blog