MyBB Community Forums
[How To?] How to remove lazy load from img bbcode? - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: [How To?] How to remove lazy load from img bbcode? (/thread-233278.html)



How to remove lazy load from img bbcode? - lkop - 2021-08-12

i am not sure if this loading="lazy" making the image load slow. sometimes it taking 5~6 sec to load. is there anyway we can remove this loading="lazy". i want to test if i still getting same result or not.
<img src="https://rDKS73tE_o.jpg" loading="lazy" alt="[Image: rDKS73tE_o.jpg]" class="mycode_img">



RE: How to remove lazy load from img bbcode? - Omar G. - 2021-08-13

The issue you describe has nothing to do with it. But you can try by editing the mycode_img template.


RE: How to remove lazy load from img bbcode? - lkop - 2021-08-13

thank you, removing loading="lazy" actually helped to solve the issue.


RE: How to remove lazy load from img bbcode? - Omar G. - 2021-08-13

Interesting, it would be nice to get some insight into this. I found nothing on the matter.