Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-16385

Lazy load images from img bbcode

    Details

      Description

      In many cases, forum posts contain images inserted via bbcode. With pages showing 10 or most posts per page, it doesn't make much sense to load all these images at once, but rather only when scrolling down.

      This could be especially beneficial for initial page load.

      Therefore, the img bbcode should generate an img tag with attribute loading="lazy".

      Browsers are increasingly supporting this: https://caniuse.com/#feat=loading-lazy-attr

        Attachments

          Activity

            People

            • Assignee:
              DavidIQ David Colón
              Reporter:
              Tomba Steven De Groote
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: