Thank you Montana Matt and mrchad9. I am sure that the code making images the same height will come in handy in the future.
So now I have another question. If I use alignleft and medium the image comes out smaller than if I use aligncenter and medium. Is this a bug or a feature?