Deprecate Blazy because it causes too many issues and we can figure out lazy loading another way

Created on 27 August 2021, almost 3 years ago
Updated 4 April 2023, about 1 year ago

Problem/Motivation

Blazy is failing in several places and just loading the fallback image. We can't seem to be able to find/make a proper patch.

Open issues

We can't fully remove Blazy yet, because it's a dependency of Slick.

Proposed resolution

We want to get rid of Blazy af much as we can in favour of either normal responsive images or Dynamic Responsive Image module.
DRI has lazy loading in it, so that's nice. Normal Responsive Images do not, but in rocketship_theme_generator (v3.3.2) we have a custom implementation of lazy loading.

For now, the answer when running into Blazy issues is: look for a patch in that project issue queue and if you can't find a fix, replace with one of the 2 solutions mentioned

Remaining tasks

- Find solution for Slick
- Replace all usage of Blazy with one of the 2 solutions that works best (so properly test it, eg. Image Gallery block might not play nice with DRI because of the JS, need to be sure)
- optionally, update theme generator v2 to also have the custom lazy loading solution (so Rocketship < v10 can benefit from it)

Internal link https://redmine.dropsolid.com/issues/121276

πŸ“Œ Task
Status

Fixed

Version

6.0

Component

Miscellaneous

Created by

πŸ‡§πŸ‡ͺBelgium rembrandx

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