If a portrait image has uploaded with a landscape orientation, it is likely because the orientation information is missing from the image file's EXIF data. The GotPhoto system "reads" this data in order to display images correctly.
Please check your EXIF data. If the note "Portrait" is not saved there, open your photos again in your image processing program, rotate them, and export them to your hard disk (or simply save the pictures). You can then upload the corresponding pictures again.