but why does it look like Portrait mode when I view the picture on the computer?
already answered that, here:
Your browser interprets each picture as it chooses. Some browsers look at the exif information, and rotate the image. Some browsers do not. Some browsers ignore the exif information when the image is surounded by html. but if the image is viewed on its own, the browser lookes at the image's exif data. this is done for speed.
...
more information on that, at:
https://www.ubbdev.com/forums/ubbthreads.php/topics/320994l#Post320994and what Gizmo just posted, regarding "file attachements" and "image galleries"