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
            • Core Web Vitals hit Mobile Rankings
              sahub
              sahub
              0
              2
              179

            • Using WebP Image Alongside Existing Images
              GrouchyKids
              GrouchyKids
              0
              5
              356

            • Specifying image dimensions for site speed vs. responsive
              ThompsonPaul
              ThompsonPaul
              1
              3
              455

            • Best way to Load Responsive Images for Responsive Site?
              TimHolmes
              TimHolmes
              0
              2
              68

            • Responsive image plugins and seo / crawlability
              MichaelC-15022
              MichaelC-15022
              0
              2
              457

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

            • Best Practices for web layout dimensions
              johnshearer
              johnshearer
              0
              5
              2.0k

            • Image Maps vs. Normal Images
              RyanPurkey
              RyanPurkey
              0
              2
              880

            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