# Orientation of images uploaded is wrong

**URL:** https://meta.discourse.org/t/orientation-of-images-uploaded-is-wrong/74333
**Category:** Support
**Created:** [2017 年 11 月 18 日午後 6:48 UTC](https://meta.discourse.org/t/orientation-of-images-uploaded-is-wrong/74333 "2017-11-18T18:48:40Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![robmc](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robmc/32/125900_2.png) [@robmc](https://meta.discourse.org/u/robmc)
#### Post date: [2017 年 11 月 18 日午後 6:48 UTC](https://meta.discourse.org/t/orientation-of-images-uploaded-is-wrong/74333/1 "2017-11-18T18:48:40Z")

</div>

Continuing the discussion from [Mobile image upload turns sideways](https://meta.discourse.org/t/mobile-image-upload-turns-sideways/63715):

… because that has sadly been closed.

We are seeing a lot of similar issues - do we know if this is specific to a particular device? I can ask all my members who have experienced it but if it is known issue and I can update them it would be easier.

Unfortunately we upload a lot of photos (images of wine labels) so it will happen a lot on our site

here are some examples:

 ![image](https://global.discourse-cdn.com/meta/original/3X/4/1/41e1eacf1e8934af3c9b6162ae5c5c38e618ea54.jpg)

 ![image](https://global.discourse-cdn.com/meta/original/3X/f/a/fa934707eb15e9df125aac99241f961760791800.jpg)

---

<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: [2017 年 11 月 18 日午後 6:49 UTC](https://meta.discourse.org/t/orientation-of-images-uploaded-is-wrong/74333/2 "2017-11-18T18:49:40Z")

</div>

What version of Discourse are you on? This was covered in the topic you linked to.

---

<div class="post-metadata">

### Author: ![robmc](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robmc/32/125900_2.png) [@robmc](https://meta.discourse.org/u/robmc)
#### Post date: [2017 年 11 月 18 日午後 6:51 UTC](https://meta.discourse.org/t/orientation-of-images-uploaded-is-wrong/74333/3 "2017-11-18T18:51:44Z")

</div>

I’m running 1.8.10 (latest stable I believe)

I read that thread and don’t see a resolution - I see that it was apparently ‘ported’ to stable but I’m still getting the issue

---

<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: [2017 年 11 月 18 日午後 6:52 UTC](https://meta.discourse.org/t/orientation-of-images-uploaded-is-wrong/74333/4 "2017-11-18T18:52:29Z")

</div>

You need to be on 1.9 for the complete fix. Unless you can repro the problem here or on [try.discourse.org](http://try.discourse.org)

---

<div class="post-metadata">

### Author: ![robmc](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robmc/32/125900_2.png) [@robmc](https://meta.discourse.org/u/robmc)
#### Post date: [2017 年 11 月 18 日午後 6:53 UTC](https://meta.discourse.org/t/orientation-of-images-uploaded-is-wrong/74333/5 "2017-11-18T18:53:15Z")

</div>

I can’t, sadly. We’re on [Communiteq](https://www.communiteq.com) (formerly DiscourseHosting) so reliant on them to update the version

So I have to wait for 1.9 for the fix?

---

<div class="post-metadata">

### Author: ![robmc](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robmc/32/125900_2.png) [@robmc](https://meta.discourse.org/u/robmc)
#### Post date: [2017 年 11 月 18 日午後 6:55 UTC](https://meta.discourse.org/t/orientation-of-images-uploaded-is-wrong/74333/6 "2017-11-18T18:55:46Z")

</div>

I can save and re-upload the image from my site (see below), but it is not MY image so relying on the user. I am quite sure it is correctly oriented for him so if the EXIF was stripped in HIS upload process, then I will not have it here.

I can see if I can get him to confirm and send me the original

 ![419cd7f67c11d7024cd4024141f7c357692c6525_1_375x500](https://global.discourse-cdn.com/meta/original/3X/4/7/47229a8fee129cf5607de38f2b9a6772332cd46b.JPG)

---

<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: [2017 年 11 月 18 日午後 6:56 UTC](https://meta.discourse.org/t/orientation-of-images-uploaded-is-wrong/74333/7 "2017-11-18T18:56:01Z")

</div>

I think so, unless you can repro the issue on [try.discourse.org](http://try.discourse.org) — grab your phone snap some pics in whatever orientation then press upload.

Last time this was reported, it was users taking pictures in unusual orientations (phone upside down, etc) and needing to rotate them on their devices.

> [@Is there a way to manually rotate an image](https://meta.discourse.org/t/is-there-a-way-to-manually-rotate-an-image/70834):
>
> I see this thread: But it was not resolved on July 10, as far as I can tell. If a user has uploaded a photo and sees that the rotation is wrong, is there a line of code, or better, some menu item they can hit when they edit the post to rotate it the way it should be? Sorry if this is a dumb question, but I’m flummoxed. So, for example, if I edit a user’s post as below, is there something I can type or do to make the picture rotate? [49] [the example above actually has a picture that’s co…

---

<div class="post-metadata">

### Author: ![mikechristopher](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikechristopher/32/89135_2.png) [@mikechristopher](https://meta.discourse.org/u/mikechristopher)
#### Post date: [2017 年 11 月 18 日午後 11:37 UTC](https://meta.discourse.org/t/orientation-of-images-uploaded-is-wrong/74333/8 "2017-11-18T23:37:33Z")

</div>

I would contact them as they are very helpful and if you are on a business plan I believe it is they can upgrade you to test passed release @michaeld @RGJ

---

<div class="post-metadata">

### Author: ![robmc](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robmc/32/125900_2.png) [@robmc](https://meta.discourse.org/u/robmc)
#### Post date: [2017 年 11 月 20 日午後 2:53 UTC](https://meta.discourse.org/t/orientation-of-images-uploaded-is-wrong/74333/9 "2017-11-20T14:53:40Z")

</div>

I was sent the original image via email and when I upload it myself it is still incorrectly oriented but it shows correctly on his iphone and when I preview the image on my MacBook

This was taken on an iPhone 8 running iOS 11.1.1

It _might_ be something about the iPhone defaulting to ‘live’ images and when you directly upload one of these to discourse it is possible that it is not reading it correctly

However, I have tested the same image on try.discourse and it was correctly oriented there, so I assume that the fixes in 1.9.0 will resolve this issue for my site … I just need to wait for it to go live

---

<div class="post-metadata">

### Author: ![michaeld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/michaeld/32/1594_2.png) [@michaeld](https://meta.discourse.org/u/michaeld)
#### Post date: [2017 年 11 月 20 日午後 4:00 UTC](https://meta.discourse.org/t/orientation-of-images-uploaded-is-wrong/74333/10 "2017-11-20T16:00:44Z")

</div>

@robmc You can indeed get an update to 1.9 beta if you want to, just drop me a PM to confirm!

---

<div class="post-metadata">

### Author: ![Artorias](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/artorias/32/120379_2.png) [@Artorias](https://meta.discourse.org/u/Artorias)
#### Post date: [2018 年 1 月 17 日午後 10:04 UTC](https://meta.discourse.org/t/orientation-of-images-uploaded-is-wrong/74333/11 "2018-01-17T22:04:54Z")

</div>

Hello.  
Is this still an issue for others on 1.9.x ? (On our forum its 1.9.1)

It is for us.

I tested here and all seems fine [https://try.discourse.org/t/image-click-to-zoom-test-rotation-test/961/8](https://try.discourse.org/t/image-click-to-zoom-test-rotation-test/961/8)

If i post the last picture on our forum it is rotated.

---

<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: [2018 年 1 月 17 日午後 10:15 UTC](https://meta.discourse.org/t/orientation-of-images-uploaded-is-wrong/74333/12 "2018-01-17T22:15:56Z")

</div>

Unless you can repro at [https://try.discourse.org](https://try.discourse.org) then no, it is not.

---

<div class="post-metadata">

### Author: ![Artorias](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/artorias/32/120379_2.png) [@Artorias](https://meta.discourse.org/u/Artorias)
#### Post date: [2018 年 1 月 17 日午後 10:18 UTC](https://meta.discourse.org/t/orientation-of-images-uploaded-is-wrong/74333/13 "2018-01-17T22:18:27Z")

</div>

I cant.

Then its so strange its a problem on our forum

> **[Geuploade foto's gedraaid sinds update forum](https://www.horlogeforum.nl/t/geuploade-fotos-gedraaid-sinds-update-forum/137773)**
>
> Hallo allemaal, Is het jullie ook opgevallen dat sinds de nieuwe forum update van gisteren de geuploade foto’s 90 graden gedraaid zijn? Dit is niet bij iedereen het geval. Ikzelf had/heb er ook last van en ik upload mijn foto’s met een iPhone X....

---

<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: [2018 年 1 月 17 日午後 10:22 UTC](https://meta.discourse.org/t/orientation-of-images-uploaded-is-wrong/74333/14 "2018-01-17T22:22:13Z")

</div>

Looks like you guys need to update to latest then.

---

<div class="post-metadata">

### Author: ![Artorias](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/artorias/32/120379_2.png) [@Artorias](https://meta.discourse.org/u/Artorias)
#### Post date: [2018 年 1 月 17 日午後 10:25 UTC](https://meta.discourse.org/t/orientation-of-images-uploaded-is-wrong/74333/15 "2018-01-17T22:25:26Z")

</div>

If i check with ‘view page info’ i get  
Discourse 1.9.1 - [GitHub - discourse/discourse: A platform for community discussion. Free, open, simple. · GitHub](https://github.com/discourse/discourse) version b9bc27e539a7229f1f23c35ffa0820804d38c224

So this is not the latest ?

Edit: It seems it is the latest version (excluding 2.0.0beta1)  
So i’m / we’re a little lost 😊

---

<div class="post-metadata">

### Author: ![michaeld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/michaeld/32/1594_2.png) [@michaeld](https://meta.discourse.org/u/michaeld)
#### Post date: [2018 年 1 月 17 日午後 10:31 UTC](https://meta.discourse.org/t/orientation-of-images-uploaded-is-wrong/74333/16 "2018-01-17T22:31:32Z")

</div>

Horlogeforum is running with us. It’s on latest stable. In our experience this was fixed in 1.9 beta 5-or-something and later, so this should not be a problem anymore. We’ll investigate this and inform the staff.

---

<div class="post-metadata">

### Author: ![Artorias](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/artorias/32/120379_2.png) [@Artorias](https://meta.discourse.org/u/Artorias)
#### Post date: [2018 年 1 月 17 日午後 10:33 UTC](https://meta.discourse.org/t/orientation-of-images-uploaded-is-wrong/74333/17 "2018-01-17T22:33:51Z")

</div>

Oh. thank you so much !  
And @codinghorror thank you too !

🙏

---

<div class="post-metadata">

### Author: ![robmc](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robmc/32/125900_2.png) [@robmc](https://meta.discourse.org/u/robmc)
#### Post date: [2018 年 1 月 17 日午後 10:59 UTC](https://meta.discourse.org/t/orientation-of-images-uploaded-is-wrong/74333/18 "2018-01-17T22:59:32Z")

</div>

Well, I thought it was solved for us too with 1.9.0 but we’re also with @michaeld and this popped up 3 days ago:

 ![image](https://global.discourse-cdn.com/meta/original/3X/5/6/56f2e21ff8d0a3ceb5895edbe26843d6ca8e4e0d.jpg)

---

<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: [2018 年 1 月 18 日午前 12:13 UTC](https://meta.discourse.org/t/orientation-of-images-uploaded-is-wrong/74333/19 "2018-01-18T00:13:27Z")

</div>

Take it up with your hosting provider, unless you can repro at [https://try.discourse.org](https://try.discourse.org) right now, today, this is not a bug. Closing this topic.

---

<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: [2018 年 1 月 18 日午前 12:13 UTC](https://meta.discourse.org/t/orientation-of-images-uploaded-is-wrong/74333/20 "2018-01-18T00:13:30Z")

</div>


