Skip to content

Potrait images from iphone got rotated 45 degrees #29

@Kyosfonica

Description

@Kyosfonica

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions