Vanilla JavaScript Plugin

flexImages  

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

Plugin Website  Demo