Tiled is (yet another) grid layout plugin for jQuery that favors keeping the same gap and overall width over individual images having the same width.