Automactially rotate the image that you upload to SilverStripe CMS, based on its orientation value stored in the exif data.
Installs: 1 828
Open Issues: 0
This package is not auto-updated.
Last update: 2023-05-27 11:55:29 UTC
##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.
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"
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 :)