salted-herring / image-orientation-fixer
Automactially rotate the image that you upload to SilverStripe CMS, based on its orientation value stored in the exif data.
Installs: 1 855
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 4
Open Issues: 0
Type:silverstripe-module
Requires
- silverstripe/cms: ~3.3
- silverstripe/framework: ~3.3
This package is not auto-updated.
Last update: 2024-09-28 19:51:36 UTC
README
##Have you ever come across the moments like below:
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 :)