Twenty Fourteen
[closed] Serving scaled images (3 posts)

  1. abinashm
    Posted 2 years ago #

    Hi There!

    GTMetrix shows "The following images are resized in HTML or CSS. Serving scaled images could save 838.9KiB (74% reduction)."

    You can check the status via GTMetrix at http://goo.gl/H1pamZ

    As per my knowledge most of my featured images having 672 x 372px are getting resized on the top section as 332x184px while the reports says 281x155px.

    Do you have any idea how to fix this!

  2. Haz
    Posted 2 years ago #

    Great question. I have the same issue. Have you found a work around?

    In my case, I have featured images cut in Photoshop to 1038x576px, per best practices. When I import an image, WP creates an jpeg of 672x372 to go into the featured image section on the homepage. WP correctly adds width="672" height="372" attributes, so far so good.

    But then WP scales the image to 341x189, and GTMetrix flags the site for serving scaled images.

    I am willing to cut separate images in Photoshop to 341x189 to be used specifically as featured images on the homepage, but is there any way to swap my "cut to size" featured images so they appear only on the homepage? And can I manually set the width and height attributes to 341 and 189, respectively?

    I have a child theme. Any suggestions or insights would be appreciates.



  3. esmi
    Forum Moderator
    Posted 2 years ago #

    If you require assistance then, as per the Forum Welcome, please post your own topic instead of tagging onto someone else's topic.

    I am now closing this month old topic as it references an older version of WordPress.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic