CollagePlus is jQuery plugin that arrange your images to fit exactly within a container. You can define the padding between images, give the images css borders and define a target row height.
Website Demo
Subscribe to email newsletter for latest jQuery plugins & tutorials.