The problems is that your thumbnails are all different sizes, add this code to your theme’s styles.css file. Note this this may have problems with older browsers.
div#ims-mainbox .ims-img {
display: -moz-inline-box;
display: inline-block;
vertical-align: middle;
float: none;
}