Automatically rotate JPEG image on upload, according to Exif Orientation data for consistent, upright viewing on a web page.
- Darren-Lee Joseph
<darrenleejoseph (at) gmail (dot) com>
- SilverStripe 3.1
Installation can be done either by composer or by manually downloading a release.
composer require "thisisbd/silverstripe-fixjpeg-orientation:*"
- Download the module from the releases page.
- Extract the file (if you are on windows try 7-zip for extracting tar.gz files
- Make sure the folder after being extracted is named 'fixjpeg-orientation'
- Place this directory in your sites root directory. This is the one with framework and cms in it.
- Visit
<yoursite.com>/?flush
to clear the manifest cache.
This module will read the Exif Orientation data of uploaded JPEG images uploaded via the UploadField and automatically rotate them and re-save them for upright display on a web page.
There are no known issues.