Re: Image Lazy Loader for the product listing page
Quote:
Originally Posted by
rlexyd
Hi Simon,
Have you by any chance used this plugin on any of your 1.5.7c sites?
If yes, did you do anything to update it or alter it?
I am looking at making my mobile site load quicker and Google advised something like this would be good.
I do have this working on a ZC v1.57c site. I'm not the best at making notes so am not sure if I had to tweak it.
Edit: actually I don't think I'm using the lazy loader referenced in this thread. I'll have to go through my plugin backups to identify the actual one.
Re: Image Lazy Loader for the product listing page
Ok thanks, will give it a go on my test site and see how it goes.
Re: Image Lazy Loader for the product listing page
Quote:
Originally Posted by
simon1066
I do have this working on a ZC v1.57c site. I'm not the best at making notes so am not sure if I had to tweak it.
Edit: actually I don't think I'm using the lazy loader referenced in this thread. I'll have to go through my plugin backups to identify the actual one.
Contrary to my edit, I am indeed using the plugin in this thread.
Re: Image Lazy Loader for the product listing page
Thanks, so you see much difference when doing the Google light house test?
Re: Image Lazy Loader for the product listing page
Quote:
Originally Posted by
rlexyd
Thanks, so you see much difference when doing the Google light house test?
I haven't really compared speeds using Lighthouse but as it reduces the number of images loaded on the initial page visit then it will always make a positive difference, how much of a difference will depend on the number of products you are showing on the product listing page (admin > configuration > maximum values > Products Listing- Number Per Page) and the size of those images.
Because I have this plugin I tend to set that value to a high number to reduce (or eliminate) the number of prev/next pages the customer has to navigate.
Re: Image Lazy Loader for the product listing page
Does this not work on "Show All Products" page?
Re: Image Lazy Loader for the product listing page
ZC 1.5.0 with 1.5.1 cache maria db 10.x nginx jquery 2.2.4 min
Hi Dear Zen Cart folks,
been sick for a long time but now feeling little better and tried to improve one old site to make it load faster with lazy loader.
I used Diva vocals addons and lazy loading works fine on all pages but checkout_confirmation aka. last step fails. This is related to lazyloader script but there is no error messages on chrome dev tools so I am a bit clueless what could be going wrong. On checkout process there is an submitonce() script added at some point but it has worked earlier fine.
Any help would be highly appreciated to haunt this bug down,
Re: Image Lazy Loader for the product listing page
Quote:
Originally Posted by
OopsIbrickedIT
ZC 1.5.0 with 1.5.1 cache maria db 10.x nginx jquery 2.2.4 min
Hi Dear Zen Cart folks,
been sick for a long time but now feeling little better and tried to improve one old site to make it load faster with lazy loader.
I used Diva vocals addons and lazy loading works fine on all pages but checkout_confirmation aka. last step fails. This is related to lazyloader script but there is no error messages on chrome dev tools so I am a bit clueless what could be going wrong. On checkout process there is an submitonce() script added at some point but it has worked earlier fine.
Any help would be highly appreciated to haunt this bug down,
Not strictly an answer to your query but,
I used to use the Lazy Loading plugin but have now switched to the native lazy loading supported by the majority of browsers, saving on the overhead created by the various files the plugin uses.
e.g. in includes/modules/your_template/product_listing.php find
Code:
class="listingProductImage"
and follow it with
Re: Image Lazy Loader for the product listing page
Thank you Simon very much! I must in the future do the same. But now checkout is not working and the site is live so have to dig up what causes it quickly. Old templates and lots of merged files does not make it easy though for me.
Re: Image Lazy Loader for the product listing page
Quote:
Originally Posted by
OopsIbrickedIT
...but checkout_confirmation aka. last step fails. This is related to lazyloader script but there is no error messages ...
What makes you think that the fail is 'related to lazyloader script'. If it is have you tried disabling LazyLoader?