--- layout: default title: Image based items description: A demo of how NOT to use images with shuffle extraJS: [ "demos/images.js"] ---

This probably looks broken.

In this demo, the height of each item in the grid depends on the image. If Shuffle is initialized before the images load, the heights it calculates will be incorrect. See here for a solution.

Resize the window and it'll fix itself.

{% for item in site.data.items %}
{{item.title}}
{{ item.groups | join: ', ' }}
{% endfor %}
{% include credit-jake.html %}