Topic: When I add ' loading="lazy" ' attribute to images it removes automatically...

usaidr free asked 3 years ago

I am trying to speed up my site for that I added the ' loading="lazy" ' attribute to images but the tag removes itself from the code.

  • < img class="img-fluid img-thumbnail" loading="lazy" style="display:
    block; margin-left: auto; margin-right: auto;" src="#" alt="eg"

This is how I used it. What can be the issue? I am using this theme. Kindly guide me.

Marcin Luczak staff commented 3 years ago


The theme you are using is not an MDBootstrap product. For information about our products please visit our Getting started page

For lazy loading problem please read its documentation

Regards, Marcin

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: PC
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: Yes