The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Web Design
    4. Reducing cumulative layout shift for responsive images - core web vitals

    Reducing cumulative layout shift for responsive images - core web vitals

    Web Design
    4 4 74
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • seoelevated
      seoelevated last edited by

      In preparation for Core Web Vitals becoming a ranking factor in May 2021, we are making efforts to reduce our Cumulative Layout Shift (CLS) on pages where the shift is being caused by images loading. The general recommendation is to specify both height and width attributes in the html, in addition to the CSS formatting which is applied when the images load. However, this is problematic in situations where responsive images are being used with different aspect ratios for mobile vs desktop. And where a CMS is being used to manage the pages with images, where width and height may change each time new images are used, as well as aspect ratios for the mobile and desktop versions of those.

      So, I'm posting this inquiry here to see what kinds of approaches others are taking to reduce CLS in these situations (where responsive images are used, with differing aspect ratios for desktop and mobile, and where a CMS allows the business users to utilize any dimension of images they desire).

      1 Reply Last reply Reply Quote 2
      • Guest
        Guest last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote -1
        • Staunton_Rook
          Staunton_Rook last edited by

          yes please, would love to know also, getting this error through aa gtmetrix and PSI reports 🙂

          1 Reply Last reply Reply Quote 0
          • Arun.Das
            Arun.Das last edited by

            I'm in the same exact situation as well!  Feels like we are kind of stuck as I also have different aspect ratios for device and use a CMS  that has a lot of limitations.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • How to find out that none of the images on my site violates copyrights? Is there any tool that can do this without having to check manually image by image?
              EGOL
              EGOL
              1
              6
              120

            • Avg Page Load Time Increase After Responsive Web Design
              TimHolmes
              TimHolmes
              1
              6
              385

            • Good web design layouts
              ClaytonJ
              ClaytonJ
              1
              4
              1.1k

            • Dedicated landing pages vs responsive web design
              jameswesleyhunt
              jameswesleyhunt
              0
              9
              642

            • Javascript with Responsive Web Design
              WesleySmits
              WesleySmits
              0
              4
              165

            • What Are The Hazards to Changing Over to Responsive Web Design?
              gfiedel
              gfiedel
              0
              8
              318

            • Can you recommend a responsive web design company of template to accommodate mobile searches
              benjaminspak
              benjaminspak
              0
              2
              371

            • What is the difference of HTML5 and web 2.0? What is web 2.0 and is this better for seo?
              jobintourism
              jobintourism
              0
              5
              4.5k

            Get started with Moz Pro!

            Unlock the power of advanced SEO tools and data-driven insights.

            Start my free trial
            Products
            • Moz Pro
            • Moz Local
            • Moz API
            • Moz Data
            • STAT
            • Product Updates
            Moz Solutions
            • SMB Solutions
            • Agency Solutions
            • Enterprise Solutions
            • Digital Marketers
            Free SEO Tools
            • Domain Authority Checker
            • Link Explorer
            • Keyword Explorer
            • Competitive Research
            • Brand Authority Checker
            • Local Citation Checker
            • MozBar Extension
            • MozCast
            Resources
            • Blog
            • SEO Learning Center
            • Help Hub
            • Beginner's Guide to SEO
            • How-to Guides
            • Moz Academy
            • API Docs
            About Moz
            • About
            • Team
            • Careers
            • Contact
            Why Moz
            • Case Studies
            • Testimonials
            Get Involved
            • Become an Affiliate
            • MozCon
            • Webinars
            • Practical Marketer Series
            • MozPod
            Connect with us

            Contact the Help team

            Join our newsletter
            Moz logo
            © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
            • Accessibility
            • Terms of Use
            • Privacy