Would be nice to include the required libraries (Lozad) via Composer

Created on 2 August 2024, 9 months ago

Problem/Motivation

As title, the module currently doesn't pull the required libraries via Composer and has to be done manually.This will lead to complaints during module enable:

 [error]  Unable to install module 'image_lazy_loader' due to unmet requirement(s):
  - Before you can use the Image Lazy Loader module, you need to download the Lozad plugin from Github and place it in /libraries/lozad. Check the README.txt for more information. <a href="https://github.com/ApoorvSaxena/lozad.js">Get the Lozad plugin here</a>. (Currently using Lozad version Plugin not detected) 

Would be nice to include the Lozad repo in the project composer file so that this happens automatically.

Steps to reproduce

composer require 'drupal/image_lazy_loader:^2.1'

Proposed resolution

Include the module required libraries in composer.json

Remaining tasks

Include the module required libraries in composer.json

Feature request
Status

Closed: won't fix

Version

2.1

Component

Code

Created by

🇬🇧United Kingdom aaron.ferris

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024