You would need to define a height somewhere to assure they all have the same height. Whether it be through the Image or placing the inside a Container Block and setting a height there, there should be a height value.
Can you try setting the object-fit of the Image Block to Object when setting a height?