html - Bootstrap image-circle is rotated on iOS -


i´ve got problem rotating image. problem occurs on iphone in safari browser.

the left version on iphone , right 1 on android smartphone google chrome

you see (badly) red circled image. on iphone rotated 90 degrees no perceptible reason. image above displayed correctly on both browsers exact same html , css.

i´m using bootstrap css framework , how images displayed:

<div class="col-lg-12" style="text-align: center; margin: 20px; background-color: rgba(255, 255, 255, 0); padding: 30px; border-radius: 20px;"> <div class="col-md-3">     <img class="img-circle" src="../admin/uploads/categories/<?php echo $categoryrow["img"]; ?>" width="140px" height="140px"> </div> <div class="col-md-9">     <h2><?php echo $categoryrow['name']; ?></h2>     <p><?php echo $categoryrow['description']; ?></p>     <p><a class="btn btn-default" href="category.php?id=<?php echo $categoryrow['catid']; ?>" role="button">mehr <?php echo $categoryrow['name']; ?></a></p> </div> 

on page categories of different articles shown image (with problem) plus headline , description. happens in while() done php.

the thing want know why image rotated on iphone, should not be. website works perfect on android browsers , on desktop pcs. on ios , safari mysterious thing appears. hope can me problem.

happy sunday , thanking in anticipation :)

it not problem of bootstrap image-circle. problem of image's exif data. please see how prevent auto-rotating images on ios on html css/javascript


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -