Masonary with Lazy Load
Hi Guys,
You can easily integrate lazyload with masonary. The following code will be helpful to you.
jQuery(document).ready(function(){ jQuery("img.lazy").lazyload({ effect: 'fadeIn', effectspeed: 1000, threshold: 200, load:function(){ var $container = jQuery('.is_masonry'); $container.masonry({ }).imagesLoaded(function() { $container.masonry(); }); } }); });