Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Potrait images from iphone got rotated 45 degrees #29

Open
Kyosfonica opened this issue Dec 12, 2016 · 1 comment
Open

Potrait images from iphone got rotated 45 degrees #29

Kyosfonica opened this issue Dec 12, 2016 · 1 comment

Comments

@Kyosfonica
Copy link

Hi,

I experience an issue with mobile phones. When I upload an image to my server and then run the image crop from a portrait image it gets cropped and rotated 45 degrees anti-clockwise. This only occurs when the image is taken using an iPhone.

On android devices it works as expected.

Does anyone have a clue of what can be happening?

The code I use to make the crop is as follows:
Image::url($user->image,200,200,array('crop'))

$user->image is the route to the original image file that is uploaded exactly as it was taken, portrait.

@alexcroox
Copy link

Same issue, some get rotated 45, others 180!?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants