Streaming live at 10am (PST)

Isotope imagesloaded problem


#1

Hello,

I have the isotope set up on http://www.sarahlee.co/blog.html
It works fine, but sometimes the images overlap. Where exactly do I have to put the imagesloaded script?

Thank you!

$('.main-iso2').isotope({
	itemSelector: '.iso-item2',
	layoutMode: 'masonry',
	percentPosition: true,
	masonry: {
	    columnWidth: '.grid-sizer2',
	    gutter: '.gutter-sizer2'
    }
});

$('.iso-nav2 ul li').click(function(){
	$('.iso-nav2 ul li').removeClass('active');
	$(this).addClass('active');

	var selector = $(this).attr('data-filter');
	$('.main-iso2').isotope({
	    filter: selector
	});
	return false;
});