Image Rotating in Some Browsers...?
Does any one know what might be going on here? This is the original li开发者_StackOverflownk.
Perhaps it's related to whether or not you're holding the tablet in landscape/portrait-mode? That should've probably re-oriented the text too, but... yeah, that's just a guess.
I had similar problem with iPad and found this discussion.
It turned out to be a different handling of JPEG with EXIF information saved. Most browsers do not use it, iPad Safari does.
I'm working with PHP and solution was adding that in image resizing function:
$image->setImageOrientation(Imagick::ORIENTATION_TOPLEFT);
精彩评论