You are viewing an old revision of this post, from March 24, 2014 @ 12:44:23. See below for differences between this version and the current revision.

Lazy load for image products grid view

<img class="lazy" data-src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(223); ?>" src=""  width="223" height="220" />

https://github.com/luis-almeida/unveil/blob/master/jquery.unveil.min.js

jQuery(document).ready(function() {
        jQuery('img.lazy').unveil();
});

 

 

Revisions

  • March 24, 2014 @ 16:56:26 [Current Revision] by admin
  • March 24, 2014 @ 12:44:23 by admin

Revision Differences

There are no differences between the March 24, 2014 @ 12:44:23 revision and the current revision. (Maybe only post meta information was changed.)

No comments yet.

Leave a Reply