Photo gallery....minor problem

Dear All,

I have made the following photo gallery. Brilliant and thank you very much.

http://www.kirupa.com/developer/mx/photogallery.htm

My little problem is that I have pictures in Landscape format (lying down) and Portrait format (standing up).

Would you know how to center the pictures so it looks nice? Now I can either get one to look good or the other one.

Thank you in advance.

Ulrik