That’s interesting. In my tests these images were served via HTTPS as well. Here is an example:
https://jeremy.hu/jetpack-missing-images-related-posts/
It would be interesting to know where Jetpack grabs the images it uses in Related Posts on your site. Here is where we look for images:
- We first look for a Featured Image. The image protocol consequently comes from WordPress itself here, and will be HTTPS if that’s what your site URL value is set to.
- If the post doesn’t have a Featured Image, we then look for slideshows, galleries, and images attached to the post. All these images are also delivered by WordPress directly.
- If we still don’t find any image, we’ll look for images in the post content. You’d consequently need to check the content of the posts to see if the image paths use HTTP or HTTPS.
Could you check a few of your posts, and see if the behaviour of the Related Posts changes when you add a Featured Image, for example?
Almost all posts have featured image set, I tried with setting them all via https with rewrite and with a little help from this plugin(after the rewrite of link didn’t work) – https://wordpress.org/plugins/wordpress-https/
Result -> broke the apreciate in article from jetpack and comments through jetpack, but still no images delivered via https 🙁
Now I’m forced to disable apreciate and use the above mentioned plugin so the commenting system work.
That’s interesting, I use the same plugin on the site I mentioned above, and can use Related Posts and Jetpack Comments without any issues.
What are you plugin settings, under the HTTPS menu in your dashboard? Could you try playing with these a bit and let me know what you find?
Could you also let me know what your site URL and WordPress URL settings are, under Settings > General in your dashboard?
Thanks!
I managed to fix the apreciate and the comment (partially, you can’t reply, changed to disqus, because I can’t afford comment area to be unresponsive).
So, tried once again, stripped https, uninstalled plugins (w3tc, cloudflare, jetpack)
Installed and reconfigured jetpack, everything is fine, then I installed w3tc, everything is fine as well.
Right after I deploy the site to cloud and force it to go through https, then is when it starts to go wierd :-\ (also configured main url with HTTPS)
Disabled in cloudflare the JS compression features, in fact there is no compresions in html/ccs/js, same for w3tc.
After doing all that, activated the wordpress https plugin and I can say I have the following problems:
– images in related still load from http, not https (the only images loading from http, o.O)
– jetpack comments are working, not fully, you can’t reply, the form will not show (solved that with moving to disqus)
– apreciate working ^_^ (it was not, code compression form cloudflare).
oh, site is -> http://blogpentrusuflet.ro (it’s forced to rediret through https from cloudflare and wordpress settings).
On our end, your site seems to be set to use HTTP as the WordPress address (siteurl).
Could you let me know how your site is configured on your end?
Could you change your install URL to https, and let me know if that changes anything?
It crashes my website, since the SSL is through flexible SSL from cloudflare.
Thanks for giving it a try.
I’ll set up CloudFlare and flexible SSL on one of my test sites and let you know what I find.
OK, thank you for your time! ^_^
Hi RwkY,
The ClouFlare plugin for WordPress has an option called HTTPS protocol rewriting. Have you tried turning it on?
Yes, it is turned on, if you read my initial post, you can see that hole website is HTTPS except similar posts delivered through WP CDN.
OK, this is wierd, I moved another website in cloudflare, it has the same JetPack modules activated and I get no mixed content, everything is delivered through HTTPS.
The 1st website, the one I linked in my previous comments, still delivered mixed on blog page, but on homepage does not, this one doesn’t anywhere I check.
The only difference between the two websites is that one is owned by a writer, other is a community fan, also the blog that has the problems (writer) is using WORDPRESS HTTPS to force https rewrite, besides that, everything is fine, they are the same in configuration for HTTPS, w3tc(configured with cloudflare), cloudflare plugin, cloudflare flexible ssl plugin and jetpack 🙂
Hope this information helps!
Later Edit – the 2nd website did not need any custom configuration for photon to deliver images via https, it just does o.O
For the posts in question, if you visit the media item in the Media section of wp-admin and click Edit, what URL is being provided? e.g. https://cloudup.com/c9gm3Pwk3ZX
Within the post themselves, what is the URL saved for the img?
My hypothesis is that the image is being culled from Jetpack_Media_Summary which culls from Jetpack_Media_Summary which is pulling out a http link from the post content. Photon should be returning the image respecting the is_ssl check of the site and something in the above is not seeing is_ssl back.
Jeremy is working on getting a duplicate setup running for some further tests and will circle back, likely next week.
Cheers!
I thought of that and updated the links in posts with HTTPS ones.
Cleared cache, and reloaded the page in incognito, same thing, no difference.
ps. changed the cloudflare flexible ssl plugin with wordpress https, had problems with login to dashboard because of that plugin.