SilverStripe Fix JPEG Orientation Module. Ensures that JPEG images uploaded from a mobile are rotated and saved upright according their orientation value for consistent viewing when displayed on a web page.

Installs: 3 336

Dependents: 0

Suggesters: 0

Security: 0

Stars: 14

Watchers: 4

Forks: 3


v0.1 2015-02-21 09:13 UTC

This package is not auto-updated.

Last update: 2024-07-15 11:09:57 UTC


Automatically rotate JPEG image on upload, according to Exif Orientation data for consistent, upright viewing on a web page.

Maintainer Contacts

  • Darren-Lee Joseph <darrenleejoseph (at) gmail (dot) com>


  • SilverStripe 3.1

Installation Instructions

Installation can be done either by composer or by manually downloading a release.

Via composer (best practice)

composer require "thisisbd/silverstripe-fixjpeg-orientation:*"


  1. Download the module from the releases page.
  2. Extract the file (if you are on windows try 7-zip for extracting tar.gz files
  3. Make sure the folder after being extracted is named 'fixjpeg-orientation'
  4. Place this directory in your sites root directory. This is the one with framework and cms in it.
  5. Visit <>/?flush to clear the manifest cache.

Usage Overview

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.

Exif Orientation Flag Values

Known Issues

There are no known issues.