# magepal/magento2-cataloglazyload

> Improve the load time of your Magento 2 categories pages by loading your images on demand with our Lazy Load Extension

`composer require magepal/magento2-cataloglazyload`

Canonical URL: https://packagento.com/magepal/magento2-cataloglazyload

## At a glance

- **Vendor**: magepal (https://packagento.com/magepal.md)
- **Latest version**: 1.8.6 — released 2026-05-14
- **Pricing**: Free
- **Package type**: Magento 2 module
- **Status**: active, accepting new buyers

## Installation

Packagento is licence-gated, so even free packages need a licence on a project before Composer can resolve them.

1. **Sign in or create an account** at https://packagento.com/customer/account/.

2. **Add the package to your account.** Open https://packagento.com/magepal/magento2-cataloglazyload and complete the free checkout. A licence is minted automatically.

3. **Create or pick a project, then activate the licence on it.**
   - Projects represent the Magento installs you deploy to. Manage them at https://packagento.com/projects/.
   - Activate the new licence on the project you'll deploy this package to. Activation is what generates the Composer credentials scoped to that project.

4. **Add the project credentials to your Magento codebase.**

   Grab the project's public + private key from https://packagento.com/projects/ (open the project, then its Credentials tab), and add them to `auth.json`:

   ```json
   {
     "http-basic": {
       "packagento.com": {
         "username": "ppk_live_...",
         "password": "psk_live_..."
       }
     }
   }
   ```

   Add the Packagento Composer repository to `composer.json`:

   ```json
   {
     "repositories": [
       { "type": "composer", "url": "https://packagento.com" }
     ]
   }
   ```

5. **Install and apply.**

   ```bash
   composer require magepal/magento2-cataloglazyload:*
   bin/magento setup:upgrade
   bin/magento setup:di:compile
   bin/magento cache:flush
   ```

## What it does

Improve the load time of your Magento 2 categories pages by loading your images on demand with our Lazy Load Extension

## README

<a href="https://www.magepal.com" title="Magento 2 Extensions" ><img src="https://image.ibb.co/dHBkYH/Magepal_logo.png" width="100" align="right" alt="Magento2 Extension" /></a>

## Catalog Images Lazy Load for Magento2 / Adobe Commerce

[![Total Downloads](https://poser.pugx.org/magepal/magento2-cataloglazyload/downloads)](https://packagist.org/packages/magepal/magento2-cataloglazyload)
[![Latest Stable Version](https://poser.pugx.org/magepal/magento2-cataloglazyload/v/stable)](https://packagist.org/packages/magepal/magento2-cataloglazyload)

<a href="https://www.magepal.com/magento2/extensions/catalog-enhancements.html" title="Magento 2 Extensions" >![Magento Delay Image Loading](https://user-images.githubusercontent.com/1415141/108890113-28ef6f80-75db-11eb-8156-6ee15b142861.png)</a>

Like most e-commerce site by default Magento / Adobe Commerce loads, all products images on page load, which can lead to your site becoming extremely slow on mobile or other devices as your customer browser tries to download all images which they may not even view or see. 

Our free Lazy Loading extension for Magento 2 highly improves your page loading time and Google Page Ranking by only loading product images as the user scrolls. Images are only requested and download from your server once that photo is needed and the user is about to scroll to that item. Fully integrated with default Magento 2 functionality, our lazy loading functionality is applied to product listing pages, search pages, and product detail pages to enhance the load of related, up-sell and cross-sell products as needed.

Having a good user experience is crucial to the success of your online store and improving your page loading time will lead to better conversion, improved SEO score, and page ranking.

Reduce load time by Loading images on-demand while saving server resources, bandwidth and improving your users' experience.

Improve your customer shopping experience with our new [Catalog Hover Image for Magento](https://www.magepal.com/catalog-hover-image-for-magento.html)

#### What set us apart from other Magento Lazy Load extension?
A Lazy Load extension was meant to speed up your site, yet 99% of Magento 2 Lazy Load extensions make your website loading appear slower to your customer by constantly delaying loading of your photos which are worth a million words.

Unlike other Lazy Load extensions for Magento, our extension take into consideration that the first 'x' amount of products images will appear above your browser page fold on your category pages and should be displayed as quickly as possible. Therefore we skip applying lazy loading functionality for these images. 

This is important because:

1. Your site will appear to load much faster to your customer because they won't have to wait for Javascript to activate your images.
2. Your products image will start to display immediately as your browser fetches them, instead of waiting for Javascript to activate them which will normally cause 1-5 seconds delay and largely depended on the speed of your customer's computer.
3. On subsequences visit, your top 'x' images just appear because they are already cached, while other extensions will still delay loading. 

You can quickly and easily configure the number of images to show instantly base on your site need in our configurable in system configuration.


![magento2 lazy load images](https://image.ibb.co/bYO7DH/Catalog_Images_Lazy_Load_for_Magento2.gif)


#### Benefits
Lazy Load extension for Magento 2 only load images within the customer viewpoint and automatically load relevant images as the customer scrolls

### Installation

###### Using Composer (recommended)

```
composer require magepal/magento2-cataloglazyload
```

### Documentation

[How to Installing Catalog Images Lazy Load for Magento2](https://www.magepal.com/help/docs/magento-lazy-load-images/#installation)

[How to setup Catalog Images Lazy Load for Magento2](https://www.magepal.com/help/docs/magento-lazy-load-images/#configuration)

Contribution
---
Want to contribute to this extension? The quickest way is to open a [pull request on GitHub](https://help.github.com/articles/using-pull-requests).


Support
---
If you encounter any problems or bugs, please open an issue on [GitHub](https://github.com/magepal/magento2-cataloglazyload/issues).

Need help setting up or want to customize this extension to meet your business needs? Please email support@magepal.com and if we like your idea we will add this feature for free or at a discounted rate.

_(README truncated for .md surface. Full README on https://packagento.com/magepal/magento2-cataloglazyload.)_

## Recent Versions

| Version | Released |
|---|---|
| 1.8.6 | 2026-05-14 |
| 1.8.5 | 2025-04-16 |
| 1.8.4 | 2024-06-07 |
| 1.8.3 | 2023-03-16 |
| 1.8.2 | 2022-04-12 |
| 1.8.1 | 2021-02-23 |
| 1.8.0 | 2021-01-14 |
| 1.7.2 | 2020-08-09 |
| 1.7.1 | 2020-07-02 |
| 1.7.0 | 2019-10-28 |

Showing 10 of 23 versions. Full release history on https://packagento.com/magepal/magento2-cataloglazyload.

## Dependencies

### Require

| Package | Constraint |
|---|---|
| magento/framework | 102.0.*\|103.0.* |
| magento/module-backend | 101.0.*\|102.0.* |
| magepal/magento2-core | >=1.1.14 |
| php | ~8.3.0\|~8.4.0\|~8.5.0 |

## Quality

Latest release (1.8.6) fails the Packagento QA pipeline. Verdicts below are per-cell (Magento line × PHP version) for the matrixed tools, and run-once for the static / security tiers.


### Compatibility

Each Magento line is installed on its supported PHP versions, then the module is built (DI compile + static-content deploy). Cells show passed / failed / untested; staircase gaps render as `–`.

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | not tested | Pass | – | – |
| 2.4.8 | – | not tested | not tested | – |
| 2.4.9 | – | – | not tested | not tested |


### Code Quality

Advisory checks against the module's source. Never affect the Compatibility verdict — a phpcs finding can't make a module incompatible.

#### Static Analysis

Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.

| Tool | Status | Findings | Summary |
|---|---|---|---|
| PHPCS | Warning | 5 | 5 warnings (ruleset: Magento2) — 3 auto-fixable with phpcbf |
| PHPMD | Warning | 1 | 1 rule violation (UnusedFormalParameter:1) |
| Cpd | Pass | 0 |  |
| Composer validate | Info | 2 | valid; 2 advisory notes (composer validate --strict) |

#### PHPStan

Type-checks the module against a real Magento install. Re-runs per Magento + PHP version because resolvable symbols differ between releases.

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | 4 | – | – |
| 2.4.8 | – | 4 | 4 | – |
| 2.4.9 | – | – | 4 | 4 |


### Tests

Unit and integration suites run per Magento + PHP cell. Test failures speak to the module's behaviour, not its compatibility with a line, so they're reported here separately.

#### Unit Tests

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | – | – |
| 2.4.8 | – | N/A | N/A | – |
| 2.4.9 | – | – | N/A | N/A |

#### Integration Tests

| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | – | – |
| 2.4.8 | – | N/A | N/A | – |
| 2.4.9 | – | – | N/A | N/A |


### Security

Dependency-advisory audit (composer audit) plus a source malware scan. A malware detection fails the version outright.

| Tool | Status | Findings | Summary |
|---|---|---|---|
| Composer audit | Pass | 0 |  |
| Malware scan | Pass | 0 |  |

## Licence and pricing

Free. A licence is still minted on checkout and bound to your project for Composer access — no payment step.

Refundable within 14 days of first purchase via https://packagento.com/account/refunds/.

## Install via Claude Code or any MCP client

The Packagento MCP server can run the licence + project + Composer steps above in one tool call:

```
purchase_and_install_packages(
  composer_names=["magepal/magento2-cataloglazyload"],
  project_id="proj_xxx"
)
```

This handles cart, checkout, licence minting, project activation, and writes auth.json credentials. Connect a client with `claude mcp add packagento https://mcp.packagento.com`. Full setup at https://packagento.com/docs/mcp-setup.

## Vendor

magepal is a Magento 2 vendor on Packagento. See https://packagento.com/magepal.md for their full catalogue.

