Download the PHP package mageplaza/module-lazy-loading without Composer

On this page you can find all versions of the php package mageplaza/module-lazy-loading. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package module-lazy-loading

Magento 2 Lazy Loading extension

(Update) 2023-02-20: This project will be marked as a paid item and no longer be maintained as free. For further updates and technical support, please follow Magento 2 Lazy Loading for more information. We understand that this change might create inconvenience for our users. However, this is to ensure that the module will be updated with more useful features to support Magento 2 stores better. If you have any concerns or ideas about any features you would like to see, don’t hesitate to contact us and leave a request.

Magento 2 Lazy Loading extension allows speeding up the site load by showing the image only at the demanding time. Lazy Loading improves site performance and reduces bounce rate due to slow loading.

1. Documentation

2. FAQ

Q: I got an error: Mageplaza_Core has been already defined

A: Read solution here

Q: Which pages to apply Lazy Loading?

A: Lazy Loading can be applied for images on many popular pages including Category Page, Product Detail Page, CMS Page, Checkout Page, Search Page, or Related/Cross-sell/ Up-sell product blocks.

Q: How many types are there in loading transaction?

A: Loading transaction has two main types: loading icon and lightweight placeholders. Loading icon enables you to upload any image to make the loading icon (recommended size 64x64px). And, you can select 3 types with placeholder which are transparent, blurred, and low-resolution.

Q: What does the loading threshold mean?

A: Threshold is used to make the images load easier. You can use the threshold parameter (px). For example, if the threshold is 200px, the image load appears within 200px far from the viewport.

3. How to install Magento 2 Lazy Loading extension

Install via composer (recommend). Run the following command in Magento 2 root folder:

With Marketing Automation (recommend):

Without Marketing Automation:

4. Highlight Features

Load images by demand

Hold up loading out-of-view images

This feature makes the images loaded only in the parts which users are viewing in the entire page. Other images will not load until the users scroll to the next part of the page. Similarly, images will load as users are viewing.

Optimize page loading

Lazy Loading significantly speeds up the page loading, especially for long websites. You no longer have to wait for a long time to open a page as all images of the page will not load at the same time. This function makes it easier for visitors to view your page. Therefore, it reduces the bounce rate and increases conversions.

Applicable to the most popular pages

It is flexible and useful to apply Lazy Loading to the most used pages any online store site, which usually include almost images of products.

Some mostly-used pages are:

Multiple Lazy Loading effects

The extension provides the store admin with several loading effects that can be adapted to the pages easily.

Placeholders

Adjust loading point time

In the Magento Default, once the user opens a page, images of the page will load immediately. With Lazy Loading, you can make specific images to load earlier by using the threshold parameter.

For instance, if you set the threshold value is 200px, then the image load that appears within 200px will be far from the user’s visible area.

This feature keeps the constancy of the image appearance as well as saves the bandwidth.

Remove Lazy Loading anytime

If you don’t want to use Lazy Loading anymore, you can exclude it in different ways:

5. Full Features List

For store admins

For customers

6. User Guide

6.1 How to use

Process Lazy Load with the icon

Process Lazy Loading with placeholder

6.2 How to configure

Login to the Magento Admin, go to Stores > Settings > Configuration > Mageplaza Extensions > Lazy Loading.

General configuration

<img class = "downloadable-product" src = "lifelong.jpg">. Images of the "downloadable-product" class will not apply lazy loading.

<img title = "lifelong" src = "download.jpg"> or <img name = "lifelong" src = "product.jpg">. When filling in "lifelong", this image will not apply lazy loading.

Mageplaza extensions on Magento Marketplace, Github

M2 One Step Checkout

M2 SEO extension

M2 Reward Points

M2 Blog extension

M2 Layered Navigation

M2 Google Tag Manager

M2 custom order number

Magento 2 SEO on Github

M2 Image Optimizer

M2 auto related products

Magento 2 Login as Customer on Github

M2 GDPR extension


All versions of module-lazy-loading with dependencies

PHP Build Version
Package Version
Requires mageplaza/module-core Version ^1.5.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mageplaza/module-lazy-loading contains the following files

Loading the files please wait ....