How can I make iOS Safari ignore EXIF ​​rotation?

It seems that we have a problem that the images on the desktops are displayed correctly vertically, but on the iPad they are rotated into the landscape. With further research, it seems that the iPad is looking at the rotation information from the EXIF ​​data to the image, and its definition should be displayed in the landscape instead of the portrait (which should actually be).

Is there a way to handle this without uploading thousands and thousands of images, deleting EXIF ​​data and re-uploading them to our cloud provider?

+5
source share
2 answers

, - - ( ), EXIF ​​ !

<video></video>
<img src="url.jpg" style="position:absolute;top:0;left:0" />

IOS 5.1 Iphone 4. (, !;)).

+3

jQuery, , HTML-:

<a href="foo" style="width:100px; height:100px;">
   <img src="bar" style="position:absolute; width:100px; height:100px; top:0; left:0;">
</a>

JavaScript:

setTimeout($.proxy(function(){
   this.css("position", "");
}, $('<video style="visibility:hidden; position:absolute; width:1px; height:1px">').before("img")), 0);

. - , .

iOS 7.1, 7.0 6.1!

+3

All Articles