Adjust product pictures height

Hi
we are designing a shop with a grid like pinterest
http://daquimateix.com/
in order to show more difference in the "bricks" we want to have a variable image height in every product picture (now is 150x 150)
how can we do it? thanks!