Image Orientation Fixer

Scrutinizer Code Quality Build Status

##Have you ever come across the moments like below:

problem story

What does this module do?

Automactially correct the image's rotation / orientation that you upload to SilverStripe CMS, based on its orientation value stored in the exif data.

Install

The module can be installed via composer:

composer require salted-herring/image-orientation-fixer

After composer has downloaded the directory, go to your SilverStripe website, and in browser's addres bar, attache "?flush=all" to the existing URL, and then hit "Enter"

Usage

Once you have done the installation, it's ready to go -- upload an image with orientation (simply, any portrait orientation photo taken by iPhone), and check if the thumbnail is resampled in the right orientation.

So, have fun coding :)