This is another template from Wikipedia. It allows you to display a row of images and automatically resizes the images so they are all the same height. It does require that you provide the width and height of the full resolution of each image.
This is a useful alternative to the new Gallery.
Several examples are on the Food page.