why my image auto rotate to 90 deg in Safari ? but it sit in a right position in IE and Chrome, could anyone help me, please.
lucy24
10:40 pm on Dec 29, 2014 (gmt 0)
could anyone help me, please.
Not without seeing the relevant CSS and HTML :( Not the whole thing! Just the bit that pertains to the image(s). Is the problem limited to one particular image, or does it happen throughout the page or all over the site?
Different behavior in Safari vs. Chrome is a little unusual, since they're both webkit. What happens in Firefox?
If it's just the one image, there's probably something wonky in the file. (XIF data, or whatever the ### they use in jpegs, although that shouldn't exist in a web-ready image should it?) It might be interesting and informative to figure out what's going on ... but it might also be faster and simpler just to replace the file. Start with something simple like opening it in your image editor of choice and "Save As..." a new name and/or location.
:: trying to remember who, hereabouts, is the Image Expert ::
xbl01234
12:34 am on Dec 30, 2014 (gmt 0)
thanks a lot, i am going to try it.
not2easy
1:26 am on Dec 30, 2014 (gmt 0)
By any chance is this a photo taken on an iPhone? I ask because this is a common problem for those because they store the orientation to be interpreted for viewing and some software can alter or lose the tag. My guess is that Safari would have no trouble reading and complying, but if using some software to upload (like for FB or WP) the tag could be lost or altered. The suggestion to rename it may help.
Editing to add that it has been known to happen to images synched to or from iPhone even if they were taken with any camera and then synched via iPhone.