Support "Lazy-load" module

Created on 23 February 2020, over 4 years ago
Updated 7 May 2024, 7 months ago

Hello,

I'm the maintainer of the Lazy-load β†’ module. I've received requests to enable lazy-loading on PhotoSwipe field formatters, which I would be very happy to.

Unfortunately, there's an issue which currently blocks Lazy-load, and possible other third-party modules too to modify the item attributes. And this feature request simply depends on it.

Please consider to add the following patch, and ✨ Restore `item_attributes` variable Closed: won't fix in PhotoSwipe module.

Thanks,
osman

✨ Feature request
Status

Closed: won't fix

Version

5.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States osman San Francisco, CA

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡΅πŸ‡ΉPortugal bbruno Poland

    Rerolling the last patch as it is not working with the latest recommended version. It had been very useful as the photoswipe images do not come by default with any lazy-loading attributes and there are no settings to do so.

  • πŸ‡©πŸ‡ͺGermany Anybody Porta Westfalica

    @bbruno as lazy-loading is now in core, I think we should instead support that. Could you create a separate issue?

Production build 0.71.5 2024