Category: PHP

If you are here then you probably has troubles with image orientation after uploading on server?

Problem is related to metadata which are saved in your image file.

So, when you tried to look on your image from PC you see that images has correct orientation... but when you do just a raw uploading, you see that the image is accidentally rotated left or right..

If you have Imagick installed then you just need to read exif image orientation metadata from your image file… But what to do if you don’t have Imagick/EXIF and you are lazy enough to install it?
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners