# Android portrait images turned wrong way

**URL:** https://meta.discourse.org/t/android-portrait-images-turned-wrong-way/65484
**Category:** Bug
**Created:** [7월 2, 2017, 8:05오후 UTC](https://meta.discourse.org/t/android-portrait-images-turned-wrong-way/65484 "2017-07-02T20:05:17Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [7월 2, 2017, 8:05오후 UTC](https://meta.discourse.org/t/android-portrait-images-turned-wrong-way/65484/1 "2017-07-02T20:05:17Z")

</div>

This image should be turned 90 degrees clockwise:

 ![](https://global.discourse-cdn.com/meta/original/3X/e/4/e44afe5cd416c288a875cca1cbd2c737487d69c3.jpg)

This is Chrome on a Galaxy S7. I clicked the “upload” link in the composer and selected the camera app to snap the picture.

It also seems to be cropped strangely in the thumbnail presented here.

---

<div class="post-metadata">

### Author: ![elijah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elijah/32/104055_2.png) [@elijah](https://meta.discourse.org/u/elijah)
#### Post date: [7월 2, 2017, 8:40오후 UTC](https://meta.discourse.org/t/android-portrait-images-turned-wrong-way/65484/2 "2017-07-02T20:40:03Z")

</div>

I haven’t examined the code path through Discourse, nor do I use Chrome much on my Android device. But I have a personal uploader app I use in Firefox with my Android device, and I don’t have to do anything special in my app for images to show up correctly. I believe the camera app senses the position of the phone and saves them the “right” way. Although it is possible that it is the browser examining the Exif and rotating for me.

Either way, I strongly suspect your image doesn’t have the correct Exif at the time of camera app save.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [7월 2, 2017, 8:43오후 UTC](https://meta.discourse.org/t/android-portrait-images-turned-wrong-way/65484/3 "2017-07-02T20:43:00Z")

</div>

> [@elijah](#):
>
> Either way, I strongly suspect your image doesn’t have the correct Exif at the time of camera app save.

That’s what I’d think too, except I’m pretty sure that it worked as expected before, and it was only after I noticed someone else’s images turned sideways that I tested it for myself.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [7월 2, 2017, 8:43오후 UTC](https://meta.discourse.org/t/android-portrait-images-turned-wrong-way/65484/4 "2017-07-02T20:43:28Z")

</div>

This is a duplicate, so closing it.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [7월 2, 2017, 8:43오후 UTC](https://meta.discourse.org/t/android-portrait-images-turned-wrong-way/65484/5 "2017-07-02T20:43:31Z")

</div>


