• Hi, I’ve added the Review Carousal on my homepage and now I’m getting the following error in PageSpeed Insights:

    ??Image elements do not have explicit?width?and?height.
    Judge.me Logo
    Product featured images of the reviews

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi there!

    Could you please try this css code :
    .jdgm-carousel-item__product-image, .jdgm-rev__pic-img {aspect-ratio: auto !important;}

    and check if this warning is still flagged ?

    Looking forward to hearing back from you!

    Thread Starter Muslim

    (@immuslim)

    Thanks for your response. I tried your suggestion and that did remove the warning from PageSpeed Insights.

    It would be even better if Judge.me could include the dimensions so every user doesn’t have to manually add the above CSS to their site. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Image elements do not have explicit width and height’ is closed to new replies.