Images in Kirup Photo Galley Flipped Horizontally

I followed the tutorials to make the photo gallery, and everything works fine, except that all of my pictures are flipped horizontally, which causes some pictures to look funny. Can anyone tell me why this is happening and how I can fix it?

Thanks in advance!