- This topic has 11 replies, 3 voices, and was last updated 4 years, 11 months ago by
David.
-
AuthorPosts
-
December 30, 2020 at 12:03 pm #1599968
Howard
I have been fighting this error for years. I follow online proposals, yet on either page speed or metrix, either the full size image on the blog == or the smaller images on home page lineup get called RANDOMLY – USUALLY FOR MOBILE, RATHER than desktop—but how to definitively serve BOTH (IF EVEN POSSIBLE?)
If I knew the definitive way to calibrate this properly, at least I could ignore the test speed notifications, in any event.
Any SOLID ideas?
HowardDecember 30, 2020 at 4:00 pm #1600133David
StaffCustomer SupportHi there,
are you getting this ‘warning’ on any particular site ? Or where are you seeing the issue on a test site such as Page Speed Insights or GT Metrix?
December 30, 2020 at 4:51 pm #1600163Howard
Indeed, lol- my site — with close to perfect scores on page speed and / or GT metrix.
https://www.thesoundadvocate.comHoward
December 31, 2020 at 4:14 am #1600512David
StaffCustomer SupportWell that is random – different tests report different images, sometimes no images are reported. Have to love Google lol
All of those images are the Latest Post Widget thumbnails. WP thumbnail size is 150px and they’re being displayed at 90px.You could try changing the Settings > Media > Thumbnail size to 90px, then run the Regenerate Thumbnails plugin to update all of your current images ( new images will automatically use the new size ). Just make sure you don’t need a 150px size thumbnail anywhere else.
December 31, 2020 at 6:00 am #1600596Howard
I was not so sure they were all thumbnail warnings; being under the impression (maybe wrongly) that some were generated from the FEATURE IMAGE on the blog post??
If so (?) would that not mean the feature images are not properly sized? (Are not Related posts generated by the “feature images” ??
December 31, 2020 at 6:19 am #1600603David
StaffCustomer SupportWordPress automatically creates the various Media attachment sizes for any image you upload.
The related post widget requests the thumbnail size for the posts. That has nothing to do with GP’s featured image controls.I ran a couple of single post tests and no image size warnings came up.
April 8, 2021 at 9:44 am #1726615Howard
Hi David
Refering back a while to this above post.
From your knowldege using chrome or firefox inspection tools….what in your opinion is the PROPER IMAGE SIZE for my Blog Posts….e.g. Properly size images: I still can not get the proper hold on this problem as it keeps varying with GT metrix mostly, sometimes Google page speed. I realize it will be different for desktop and mobile but is their a happy or CORRECT SIZE THAT might ????? satisfy both??
Here is example for you to inspect:https://www.thesoundadvocate.com/2021/04/hapa-audio-analog-interconnects-quiescence-s-and-breathe-s/
I am very curious as to what you see and propose as the CORRECTLY SIZED IMAGE OF THE featured image above
Thanks
HowardApril 8, 2021 at 8:49 pm #1727050Elvin
StaffCustomer SupportHi there,
Consider registering smaller image sizes so there are other sizes from the image’s srcset to choose image size from. You then regenerate your image/s so WordPress generates image for the newly registered image size.
This has a drawback though. More image means more files. More files mean the site’s media files will take more space on your server.
Here’s a good read about this:
https://novo-media.ch/en/web-optimization/responsive-images-wordpress/April 9, 2021 at 8:04 am #1727853Howard
Hi Elvin
The article is informative yet if I disregard your first advice ( getting more image copies) the author states“Always insert your images with the size (available in your theme) closest to the dimensions of the image on the large screen! “
So on my dektop, my generate press website width is about say 1100 wide.
Would that mean i should pre size a feature image close to that size or less????? —— so it should properly fill my desktop screen to the width of my site paragraph or “LOGO” which is above first paragraph?????Howard
April 9, 2021 at 8:42 am #1727910David
StaffCustomer SupportLooking at your current post example.
The Featured image occupies a maximum width of:Desktop: 885px. ( currently using the Full size image of 950px ).
Mobile: 300px.However this is the kicker…. WP’s core src-set sizes function relies on the image filling the width of the viewport – if it doesn’t fill the viewport then the browser will generally reach for a larger image size.
So my thoughts would be:
1. Customizer > Layout > Blog –> Featured Images > Posts and disable Display padding around images
2. Increase the WP Media > Thumbnail size to 360px.
3. Run the regenerate Thumbnails plugin.Now in theory the browser should grab the nearest match image size for Desktop and Mobile devices. You won’t need to change your full size image as the current 950px would be about right for the no padding option.
April 9, 2021 at 9:12 am #1727941Howard
This is fine and hopeful advice David.
After I applying this advice, ( and not regenerating past images, I will be finished finagling with scaled images…..
It is what it is !
Thank you, subject closed!Howard
April 10, 2021 at 3:24 am #1728449David
StaffCustomer SupportGlad to be of help!
-
AuthorPosts
- You must be logged in to reply to this topic.