{"action":"created","issue":{"url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/1277","labels_url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/1277/labels{/name}","comments_url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/1277/comments","events_url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/1277/events","html_url":"https://github.com/danialfarid/ng-file-upload/issues/1277","id":126944139,"number":1277,"title":"When image is rotated, exif orientation is not updated.","user":{"login":"jeremyk","id":223474,"avatar_url":"https://avatars.githubusercontent.com/u/223474?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremyk","html_url":"https://github.com/jeremyk","followers_url":"https://api.github.com/users/jeremyk/followers","following_url":"https://api.github.com/users/jeremyk/following{/other_user}","gists_url":"https://api.github.com/users/jeremyk/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremyk/subscriptions","organizations_url":"https://api.github.com/users/jeremyk/orgs","repos_url":"https://api.github.com/users/jeremyk/repos","events_url":"https://api.github.com/users/jeremyk/events{/privacy}","received_events_url":"https://api.github.com/users/jeremyk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/danialfarid/ng-file-upload/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-15T19:50:45Z","updated_at":"2016-01-26T23:12:24Z","closed_at":"2016-01-20T18:08:44Z","body":"Currently I do rotation on the server. I also manually generate and rotate a thumbnail as a preview. I am looking into doing the rotation in javascript but when I turn it on, the server double rotates it and I presume that is because the orientation in the exif hasn't bee reset to 1 after the image is rotated. I could fix it by just not having the server rotate the image but I don't like the idea of having a mismatched exif-orientation/image-orientation as the file will be displayed incorrectly on other devices. Let me know if I am just misunderstanding something. Thanks!"},"comment":{"url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/comments/175287795","html_url":"https://github.com/danialfarid/ng-file-upload/issues/1277#issuecomment-175287795","issue_url":"https://api.github.com/repos/danialfarid/ng-file-upload/issues/1277","id":175287795,"user":{"login":"danialfarid","id":1676054,"avatar_url":"https://avatars.githubusercontent.com/u/1676054?v=3","gravatar_id":"","url":"https://api.github.com/users/danialfarid","html_url":"https://github.com/danialfarid","followers_url":"https://api.github.com/users/danialfarid/followers","following_url":"https://api.github.com/users/danialfarid/following{/other_user}","gists_url":"https://api.github.com/users/danialfarid/gists{/gist_id}","starred_url":"https://api.github.com/users/danialfarid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danialfarid/subscriptions","organizations_url":"https://api.github.com/users/danialfarid/orgs","repos_url":"https://api.github.com/users/danialfarid/repos","events_url":"https://api.github.com/users/danialfarid/events{/privacy}","received_events_url":"https://api.github.com/users/danialfarid/received_events","type":"User","site_admin":false},"created_at":"2016-01-26T23:12:24Z","updated_at":"2016-01-26T23:12:24Z","body":"It should work for everything. Create a separate issue with jsfiddle and steps to reproduce if that's the case."}}