Remove Social Lazy Loading Image and Upgrade Drupal Lazy Load to 3.x

Created on 7 February 2022, over 2 years ago
Updated 2 December 2023, 7 months ago

Problem/Motivation

Drupal core now ships with native lazy loading for images.
This means we can finally phase out our Social Lazy Loading Image module.
See: https://www.drupal.org/node/3173719 →

Additionally the submodule we use for this, Lazy-Load at https://www.drupal.org/project/lazy → has a new major update we need to use.

This is still necessary for iFrame (embed) support.

Steps to reproduce

Checkout a new Open Social installation and see the images have lazy load support by default without enabling the `social_lazy_loading_images` module.

Proposed resolution

Remove / uninstall `social_lazy_loading_images`
Remove `blazy` from all the packages (composer / npm) as lazy-load now uses lazysizes library for rich features.
Migrate the Overriddes/Preprocesses to the new lazy-load functionality

🌱 Plan
Status

Fixed

Version

12.0

Component

Code (back-end)

Created by

🇳🇱Netherlands ronaldtebrake

Live updates comments and jobs are added and updated live.
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.

Production build 0.69.0 2024