Image manipulation library for Laravel 4 and 5 based on Imagine (https://github.com/avalanche123/Imagine) and inspired by Croppa for easy url based manipulation (with caching)
272
stars
80
forks
source link
Potrait images from iphone got rotated 45 degrees #29
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.
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.