Jump to content

Lazy loading for Prestashop (1.5.3)?


Recommended Posts

Hi,

 

is there any module around here that enables lazy loading for images?

Here's an example of lazy loading if you don't know what that is: http://davidwalsh.name/demo/lazyload-2.0.php

 

Basicly, what it does is: it loads the images from a category when the user scrolls, and not before. (this means the server will be less used).

 

So, anybody knows of such a module?

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 weeks later...
  • 3 weeks later...

There are several approaches for lazy load images. Personally i prefer & used in several projects the Lazy-Load-Images-Without-jQuery  . Its fast & lightweight & easy to install. Plus it doesnt require any other library (eg jquery) in order to function.

 

I just installed in PS 1.6.0.8 and the only issue i faced so far is when we make an ajax request from layered navigation (eg filter products listing), images dont get loaded and thats because lazy-load runs every time the whole page is loaded and not just a part of it. 

Link to comment
Share on other sites

  • 9 months later...
  • 8 months later...
  • 5 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...