Archived topic
Featured Image
7 replies · Started by Kenneth on April 21, 2021
Through the customizing option of GeneratePress, I change the featured image Media Attachment Size from FULL to LARGE.
But my post is still showing with the image size of "FULL". I did clear cache too.
My WordPress media setting for Large is Max 1024 and Min 1024. Meanwhile uploaded image size is 1200 x 695.
Url to refer is https://www.noblehomeremedies.com/topical-treatments-for-cystic-acne-otc/
Kindly assist
Hi there,
if i right click and inspect the image - the width and height attributes are 1024 and 576px. This would be the Large Image size .... did yo fix the problem?
I haven't fix anything. You are right it shows now 1024 x 576.
I wonder you could help to resolve the google search console issue. It says "Properly size the images" for the same image. My Generatepress container width is 1200 px. Not sure what is causing this issue.
It will be of great help resolving this issue.
Hi there,
Check David's thoughts on this reply. It may be applicable.
https://generatepress.com/forums/topic/properly-scaleing-images/#post-1727910
I am a bit confused. Better to look at it fresh. I am still getting "Properly size images" in Google page speed and GT Matrix. I am suspecting, for mobile WP is not picking the correct image size based on the media setup for mobile.
Here are the details.
Generatepress setup:
Container Width = 1200 px
The featured image "media attachment size" = medium_large
Display padding around images = checked
WP Media setup:
Thumbnail size = 150 x 150
Medium size = 300 x 300
Large size = 1024 x 1024
Remarks:
URL : https://www.noblehomeremedies.com/topical-treatments-for-cystic-acne-otc/
I have also run the regenerate thumbnails using the "reGenerate Thumbnails Advanced" plugin for featured images.
The results of GTMagtrix is showing resize the 1024 x 576 under the "Properly size images" issue
The Google page speed also shows the same size image under the "Properly size images" issue
The Google page speed under LCP shows as below:
Kindly assist with this
WordPress doesn't seem to be handling the serving of srcset well. The theme doesn’t touch image serving it’s very difficult to get right under all possible variables.
You can try the suggestion made in this article. https://wpmudev.com/blog/compress-resize-images-wordpress/
To make my life simpler could you please advise following that works perfectly with GeneratePress Theme and WP:
1. Featured Image size to load to WP Media
2. GeneratePress theme customization for Media Attachment Size
3. WP Media values
4. any other
In my case, I can easily adapt the recommendations throughout my site to overcome this problem once and for all, please.
Hi there,
I am seeing some srcset sizes in that image that likely don't apply/shouldn't be there. GeneratePress itself doesn't do anything to your images or srcset. Perhaps a plugin or custom function you're using is causing the issue? Have you tried turning things off one by one to rule that out?