This layout is a basic example of a mulitcolomn responsive layout using the flexbox css.

Using the flexbox css makes it very easy to deal with the different aspect ratios of the images,resulting in different height of the container element.
The flexbox css is supported on al major modern browsers but it ain't perfect yet.

To create your own layout copy this file:
and modify the file there. Do not modify the file on the current location

On older browsers the <li> elements will have different sizes if the images have different aspect ratios resulting in gaps.