Support » Plugin: Mega Addons For WPBakery Page Builder » Specify image dimensions

  • gtmetrix.com says the tm_carousel elements errors with ‘The following image(s) are missing width and/or height attributes’

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author nasir179125

    (@nasir179125)

    I don’t see any error In your site. I think you deactivated the plugin so I cannot check It.

    That is the site you can use to test a page that uses the Carousel with your plugin and it will give that error

    Or go check PageSpeed scores

    funsail

    (@funsail)

    Visit https://gtmetrix.com/
    Put in your website with a tm_carousel
    Run it

    See rule Specify image dimensions
    The following image(s) are missing width and/or height attributes.

    Plugin Author nasir179125

    (@nasir179125)

    It’s up to you whether you wanna add width & height or not.

    funsail

    (@funsail)

    I mean, if it’s empty in the settings, then shouldn’t the plugin set the right size that’s needed for when it’s on the page?

    Now you’re writing

    
    style="width: ; height: ; border-radius: 0px; margin-bottom: 15px;"

    it’s said bad code and invalid html and affects your website.

    It’s normal the default we don’t enter it. So the plugin should leave it out or set the default img size or use auto. Whatever that’s valid html.

    ALso, pagespeed doesn’t accept style="width: ; height as image dimensions
    you need to set real html height="120" width="120"

    • This reply was modified 8 months ago by funsail.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Specify image dimensions’ is closed to new replies.