Make WordPress Core

Opened 7 years ago

Last modified 2 years ago

#39736 new defect (bug)

Thumbnail src image link to direct large image, cause low page speed

Reported by: mcky909's profile mcky909 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Post Thumbnails Keywords: Need-More-info
Focuses: Cc:


i have install wordpress and add some images to my post.. but when i test it on page speed check it returns me bad figures you may check i have used coped images but google take it as large images. I have searched a lot and find out something.
related images thumbnail src linked with direct image link you may see through source code: it is not causing by theme it is causing by wordpress. but i don't know how to fix it

Change History (3)

#1 @flixos90
7 years ago

  • Version 4.7.2 deleted

Hi @mcky909, and welcome to Trac.

Your issue is likely to be related with the image size post-thumbnail (see function reference). It might not be set properly, so WordPress falls back to the default size. Another possibility might be that the theme is using another non existing image size to output the featured image.

#2 @Girishpanchal
7 years ago

Hi @mcky909, and welcome to Trac.

You need to check set_post_thumbnail_size( $width, $height, $crop ); on your active theme functions.php file and update size according to your requirement. If you have a custom image field then you need to update image size using

One more think that you can use Plugin which help to reduce image quality/size.

Last edited 7 years ago by Girishpanchal (previous) (diff)

#3 @nayana123
2 years ago

  • Keywords Need-More-info added

Hello @mcky909,

I have checked the above issues from my end and could not be reproduced them now.

Thank you

Note: See TracTickets for help on using tickets.