- This topic has 4 replies, 2 voices, and was last updated 2 years, 11 months ago by Sil.
December 20, 2017 at 6:46 am #453753Sil
We use the blog module from GP Premium to display the Featured image of a blog post.
That works nice, the image is displayed to the website visitor at the right size on both desktop & mobile and anything in between, neat and responsive.
However, the Google PageSpeed Insights tool results tells its getting served the original image files, resulting in a low mobile and desktop pagespeed score.
The file that is being served to desktop / mobile seems to be the original file that is uploaded as featured image.
Is it not filtered though one of WordPresses image sizes (thumbnail, medium, large, etc)?
The same goes for the images we upload in blog posts.
I’m assuming the theme’s job is filtering blog post images through the WordPress ‘image sizes’ so they are adaptive in file size (as well as them being shown in the right resolution on the right device, responsive). (and that GeneratePress does this)
Or do we need a bit of extra configuration?
I seem to be missing something here, hope you can help.GeneratePress 2.0.1GP Premium 1.5.6December 20, 2017 at 9:27 am #453938TomLead DeveloperLead Developer
If you right click the image and click “Inspect”, you’ll see we’re using srcset to display different image sizes at different screen widths.
If Google is complaining about the main image, perhaps try adjusting the width value in the Customizer.
It could also be that Google Pagespeed Insights isn’t recognizing srcset – it wouldn’t surprise, that tool needs some serious updating.December 21, 2017 at 1:53 am #454352Sil
Thank you Tom!
The Customizer adjustment did not make Google PageSpeed Insights happy.
So for now I’m assuming the Google tool needs updating, and look for other tools.December 21, 2017 at 10:20 am #454706TomLead DeveloperLead DeveloperDecember 21, 2017 at 10:41 am #454714Sil
That is definitely the goal!
I use both sometimes, but their closest test locations are the UK & Sweden.
Our core audience is in the Netherlands, but its great as an indicator though.
- You must be logged in to reply to this topic.