I had my first experience with my new Nikon D5100 yesterday, and I got surprised that the photos I took turning the camera 90 degres were not turned in the files when I copy then to my computer.
Does it need any special configuration in order to save the portrait orientation into the files? I was shooting in JPEG.