Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1205345
    flickdigital
    Participant

    Hi there,

    I am working on speed improvements for a site a friend is building with X. GTMetrix tells me I need to serve scaled images. It was my understanding that X uses something called the (srcset) which automatically serves the correct image size for the screen resolution, and X also creates different image sizes along with WordPress.

    However lets say I have a row of 4 images. In a full-width browser they are smaller than in mobile where they stack vertically. So on a cellphone I may need images 600px wide, whereas on a laptop only 200px wide. When I inspect the image it seems like the same image is being pulled in and just being scaled somehow despite the viewport size,.

    How can I achieve the right image size for:
    – whether it is a full width row with one wide image, or say a row split into 2, 3,4 or 5 that needs different image sizes for when the row displays all images across horizontally or stacks vertically when the viewport is smaller?

    Thanks for your support!

    #1205491
    Rupok
    Member

    Hi there,

    It’s not supposed to serve scaled image for mobile device rather the same image should be served for all device by default and it’s usual. You can try optimizing your image (you can try http://compressor.io/) so that it won’t make any difference if the original is being served.

    And you can review our Performance guide to improve the performance of your site.

    Thanks!

    #1214269
    flickdigital
    Participant

    Hi there,

    Thanks for this – I didn’t know about the Performance page, what a great help.

    #1214431
    Rad
    Moderator

    You’re so much welcome!

  • <script> jQuery(function($){ $("#no-reply-1205345 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>