ColoursB ColoursB - 6 months ago 27
Javascript Question

JS Masonary not working

I'm trying to get Masonary to work on a page, and so far have had no luck. I've tried following a tutorial, but even when I copy everything in jsFiddle it doesn't work. Is there something stupid obvious that I'm missing here? ​http://jsfiddle.net/gZ77r/

<div id="container" class="js-masonry" data-masonry-options='{ "columnWidth": 200, "itemSelector": ".masonryImage" }'>
<div class="masonryImage">
<img src="http://topknot.ca/wp/wp-content/uploads/2013/10/kitten.jpg" alt="">
</div>.....


`

Answer

I tried your photos in the example came to conclusion that your image sizes are too big to use masonry.js . please check:

http://jsfiddle.net/w4WrP/

Comments