Vanilla JavaScript Plugin

Waterfall.js  

Create a Pinterest type grid with this lightweight plugin.

Plugin Website  Demo

Related plugins

flexImages  

A lightweight vanilla JavaScript plugin for creating fluid galleries as seen on Flickr and Google Images.

Pixabay Images Gallery  

A widget for inserting Pixabay image galleries with ease into any page.

columns.js  

A minimalist masonry layout library for rendering a vertically oriented mosaic of images.