- This topic has 6 replies, 3 voices, and was last updated 4 years, 4 months ago by
Elvin.
-
AuthorPosts
-
November 10, 2021 at 7:17 am #1998560
Charles
Hello,
Sorry if this has been asked 100 times, but is there a tutorial for image sizing?
My featured images are too big sometimes but I can’t figure out why. Changing the image sizes in the media image settings doesn’t seem to make any difference.
I upload randomly sized images — should I not be doing that or should I expect WP to fix
I’ve been using a plugin called WebP Express to convert my .jpg and .png images to .webp. Perhaps that is the problem and I need to change some settings there.
Despite using this plugin, Google flags my page load speed with this advice:
Optimize your images
Ensure that none of your images are larger than 100 KB and that
most are within 50 KB. Using image standards like JPEG 2000,
JPEG XR, and WebP to support stronger compression and smallerSorry for the long rant.
images sizes.
November 10, 2021 at 8:21 am #1998860David
StaffCustomer SupportHi there,
can you share a link to the site with the image size issue so i can see whats in place ? May be able to provide some pointers.
November 10, 2021 at 8:27 am #1998870Charles
Yup, sorry:
November 10, 2021 at 9:08 am #1998917David
StaffCustomer SupportHow are the images for the sponsored section being loaded ? As those all seem to be the major issue,
Some are very large in pixel size – eg. 1700px wide.
You should upload original images that are no larger than required, in your site layout that would be a max width of 800px.
Also one of the images is a transparent PNG file which creates very large file sizes, try flattening them and saving them as JPEGs which can be better compressed.November 10, 2021 at 11:22 am #1999018Charles
OK, thank you. This is very helpful.
So I need to look at every image I upload to be sure it’s:
.jpg not .png
not wider than 800 px
probably less than 100mbIs there a plugin or other preprocessor that would help me with this?
Thanks
November 10, 2021 at 11:32 am #1999029Charles
Some people say wordpress is supposed to do this for you. I guess not.
November 10, 2021 at 5:23 pm #1999367Elvin
StaffCustomer SupportHi there,
I upload randomly sized images — should I not be doing that or should I expect WP to fix
Ideally, you should prep the image up to a uniform size for a specific purpose so you don’t have to resort to a plugin to do this for you. It’s the most reliable image sizing as plugins may not perfectly get what you were aiming for. 🙂
Some people say wordpress is supposed to do this for you. I guess not.
WordPress doesn’t automatically create and register image sizes for the
<img>srcset. But once you have the proper srcset sizes then the image being served would be appropriate enough to not get flagged by Google PSI.Read more about image sizes (and generating them) on this article.
https://www.wpbeginner.com/wp-tutorials/how-to-create-additional-image-sizes-in-wordpress/ -
AuthorPosts
- You must be logged in to reply to this topic.