portrait mode changed to landscape on Web Server PART 2

July 20, 2013 at 19:00:44
Specs: Windows 7, n/a
I dont understand, I have a photo on my pc that is in portrait, but when I put the same file on my web server, it changes the photo to landscape. Why is this?
This is the photo I am referring to:


See More: portrait mode changed to landscape on Web Server PART 2

Report •

July 21, 2013 at 11:45:46
There must be some application on your server that is adjusting the way photos are displayed then. I tried rotating it -90* using CSS, but that cropped the top and left of the image, even after removing the defined width and height measurements.

For a functional, but personally unsatisfying workaround, apply these styles to that Div:
transform: rotate(-90deg); -ms-transform:rotate(-90deg); -webkit-transform:rotate(-90deg); margin: 925px 0px 0px 275px;

If you're positive the image you actually uploaded to the server is in portrait layout and there is nothing in your pretty bare HTML/CSS that would make this adjustment, my guess is that it's something set on the server itself like some photo gallery application that adjusts photos on your site automatically. Please contact your web host for help on finding the problem unless someone else here comes up with a real solution.

Reference: His old thread on this problem:

Apologies if I don't respond to your reply immediately. I don't check this site daily, but you're welcome to PM me as a reminder.

Report •

July 21, 2013 at 13:09:45
It's weird, if I insert this photo in a word document, it is landscape mode. If I open the photo in photoshop CS6, it is in portrait mode. Strange

Report •

July 23, 2013 at 14:29:38
Another strange occurance. I saved the photo from the web site off my work PC where I work, it was in landscape mode. I changed it to portrait, re-uploaded the picture to the web server, it is correct now. My PC was showing it in Portrait mode, must have not been correct or something.

Report •

Related Solutions

July 23, 2013 at 14:30:50
Also, DreamWeaver showed the photo in portrait mode when I orginally uploaded the file

Report •

Ask Question