- This topic has 8 replies, 2 voices, and was last updated 5 years, 8 months ago by Tom.
February 15, 2015 at 10:34 pm #75293Souvik
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:
How can I achieve this?February 16, 2015 at 10:11 am #75491Souvik
FYI: Featured Image of Home page is serving from CDN. But it is not working on single post page.
Working on home page: http://www.rswebsols.com/
Not working on single post page: http://www.rswebsols.com/tutorials/ecommerce-tutorials/infinite-scrolling-kill-ecommerceFebruary 16, 2015 at 11:44 am #75573TomLead DeveloperLead Developer
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).February 16, 2015 at 9:58 pm #75773Souvik
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.
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:
And you are welcome to showcase my website. 🙂
SouvikFebruary 17, 2015 at 5:40 pm #76087TomLead DeveloperLead Developer
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?February 17, 2015 at 9:39 pm #76109Souvik
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?February 17, 2015 at 11:52 pm #76132TomLead DeveloperLead DeveloperFebruary 18, 2015 at 12:58 am #76152Souvik
I am using Generate Blog.February 18, 2015 at 12:09 pm #76345TomLead DeveloperLead Developer
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 🙂
- You must be logged in to reply to this topic.