{"id":6828491,"date":"2015-12-09T10:45:58","date_gmt":"2015-12-09T10:45:58","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/responsive-images-src-url-is-https-srcset-url-is-http-no-images-loaded\/"},"modified":"2016-08-30T21:07:34","modified_gmt":"2016-08-30T21:07:34","slug":"responsive-images-src-url-is-https-srcset-url-is-http-no-images-loaded","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/responsive-images-src-url-is-https-srcset-url-is-http-no-images-loaded\/","title":{"rendered":"Responsive images: src url is https, srcset url is http -&gt; no images loaded"},"content":{"rendered":"<p>I recently switched my whole wordpress site to https after getting certificates from let&#8217;s encrypt. Using 4.3.1 all content was https.<\/p>\n<p>After upgrading to 4.4 images no longer load and the browser complains about mixed content. Instead of an image I get a filename printed out. Inspecting the filename-element in Chrome or Firefox gets me this:<\/p>\n<p><code>&lt;img width=&quot;984&quot; height=&quot;615&quot; src=&quot;https:\/\/brokkr.net\/wp-content\/uploads\/2015\/11\/22100041369_591b31367d_b_enigma1-984x615.jpg&quot; class=&quot;attachment-post-thumbnail size-post-thumbnail wp-post-image&quot; alt=&quot;22100041369_591b31367d_b_enigma1&quot; srcset=&quot;http:\/\/brokkr.net\/wp-content\/uploads\/2015\/11\/22100041369_591b31367d_b_enigma1-300x188.jpg 300w, http:\/\/brokkr.net\/wp-content\/uploads\/2015\/11\/22100041369_591b31367d_b_enigma1.jpg 1024w, http:\/\/brokkr.net\/wp-content\/uploads\/2015\/11\/22100041369_591b31367d_b_enigma1-984x615.jpg 984w&quot; sizes=&quot;(max-width: 984px) 100vw, 984px&quot;&gt;<\/code><\/p>\n<p>As you can see, the image&#8217;s src is correctly set to https, whereas the srcset attribute is un-encrypted. Is this a bug or do I need to tweak a setting?<\/p>\n<p>I would like for the srcset attribute to use https as well. If not, or while waiting for a fix, I would like to disable the attribute. <\/p>\n<p>Thanks in advance.<\/p>\n","protected":false},"template":"","class_list":["post-6828491","topic","type-topic","status-closed","hentry","topic-tag-https","topic-tag-img","topic-tag-srcset","topic-tag-ssl","topic-tag-url"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6828491","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6828491\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6828491"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}