Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


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

Hello,

The theme you are using is not an MDBootstrap product. For information about our products please visit our Getting started page https://mdbootstrap.com/docs/standard/getting-started/installation/

For lazy loading problem please read its documentation https://developer.mozilla.org/en-US/docs/Web/Performance/Lazy_loading

Regards, Marcin



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

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