--- layout: default title: Using images with imagesloaded.js description: A Shuffle.js demo using Desandro's imagesLoaded plugin. This comes in very handy when using shuffle with images affect the layout of shuffle items image: /demos/images.jpg extraJS: [ "imagesloaded.pkgd.js", "demos/images.js"] prism: true ---
You can encounter problems when shuffle item dimensions depend on images. Like this demo. There are three good solutions to this.
.shuffle-item
s like the basic demo.div.keep-ratio
.{{ site.longDescription }}