Archived topic
Featured Image is not processing by WordPress CDN ( Jetpack Photon )
8 replies · Started by Souvik on February 15, 2015
The images in the post are served by WordPress CDN(i.e. Jetpack Photon) but featured image is not. You can check any blog post from my website.
Here is an example post:
http://www.rswebsols.com/tutorials/ecommerce-tutorials/infinite-scrolling-kill-ecommerce
How can I achieve this?
FYI: Featured Image of Home page is serving from CDN. But it is not working on single post page.
Example:
Working on home page: http://www.rswebsols.com/
Not working on single post page: http://www.rswebsols.com/tutorials/ecommerce-tutorials/infinite-scrolling-kill-ecommerce
Great site! Would love to use it in our showcase if you're willing :)
Just took a look at the single post and it looks like the featured image is coming from a CDN (check the source URL).
Actually that is not a cdn. It is only a sub-domain of my own website. I moved the WordPress content folder to a sub-domain of my website (i.e. cdn.rswebsols.com).
But if you notice the home page, the featured image is actually serving from WordPress CDN.
Example:
Article Name => "DOES INFINITE SCROLLING KILL ECOMMERCE? – A COMPLETE GUIDE".
---------------
In home page (http://www.rswebsols.com/) => The URL of the featured image is:
---------------
In article page (http://www.rswebsols.com/tutorials/ecommerce-tutorials/infinite-scrolling-kill-ecommerce) => The URL of the featured image is:
http://cdn.rswebsols.com/media/uploads/2015/02/infinite-scrolling-kill-ecommerce.jpg
---------------
And you are welcome to showcase my website. :-)
Regards,
Souvik
Awesome, thank you!
That's very odd - the image is included in the theme the same way for the homepage and single posts.
Does the CDN have any settings or anything? Any reason it might ignore some images?
There is no settings. It automatically convert image urls so it serves from cdn.
But I got one link related to my problem and may be there is a possible solution. But I am not figuring it out. Can you please look into it once?
https://wordpress.org/support/topic/featured-image-is-not-served-by-wordpress-cdn?replies=5
Are you using Page Header or Generate Blog?
I'll look into this further and hopefully supply a fix :)
I am using Generate Blog.
Perfect, I've made some changes to Generate Blog so that is uses the_post_thumbnail() in the next version.
That should fix this issue :)