PHPackages                             salted-herring/image-orientation-fixer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. salted-herring/image-orientation-fixer

ActiveSilverstripe-module[Image &amp; Media](/categories/media)

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.

v1.0.3(9y ago)41.9k4MITPHP

Since Apr 26Pushed 9y ago1 watchersCompare

[ Source](https://github.com/salted-herring/image-orientation-fixer)[ Packagist](https://packagist.org/packages/salted-herring/image-orientation-fixer)[ Docs](https://github.com/salted-herring/image-orientation-fixer)[ RSS](/packages/salted-herring-image-orientation-fixer/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Image Orientation Fixer
=======================

[](#image-orientation-fixer)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/ccfc1e3ff2af912269b52a839f04be4ed1771e50c5c96b46dde4df8686a2037f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73616c7465642d68657272696e672f696d6167652d6f7269656e746174696f6e2d66697865722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/salted-herring/image-orientation-fixer/?branch=master) [![Build Status](https://camo.githubusercontent.com/15722e12a10380d2d01a72ff6b4ab03fe20762bf492fdb2397799106c44485a4/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73616c7465642d68657272696e672f696d6167652d6f7269656e746174696f6e2d66697865722f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/salted-herring/image-orientation-fixer/build-status/master)

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

[![problem story](https://camo.githubusercontent.com/f3b4bfe1f097a3ff346d4bbbee7241046c8b0d2bae8af68b2c93f6126d565d46/687474703a2f2f7777772e73616c74656468657272696e672e636f6d2f6173736574732f55706c6f6164732f696d6167652d66697865722d73746f7279626f6172642e706e67)](https://camo.githubusercontent.com/f3b4bfe1f097a3ff346d4bbbee7241046c8b0d2bae8af68b2c93f6126d565d46/687474703a2f2f7777772e73616c74656468657272696e672e636f6d2f6173736574732f55706c6f6164732f696d6167652d66697865722d73746f7279626f6172642e706e67)

What does this module do?
-------------------------

[](#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
-------

[](#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
-----

[](#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 :)

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3349d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8662044?v=4)[Leo Chen](/maintainers/leochenftw)[@leochenftw](https://github.com/leochenftw)

![](https://www.gravatar.com/avatar/540bb83cb25750c18552987570b71946aebb4a1b3d6fe1c11e60ddcccda4fe17?d=identicon)[saltedherring](/maintainers/saltedherring)

---

Top Contributors

[![leochenftw](https://avatars.githubusercontent.com/u/8662044?v=4)](https://github.com/leochenftw "leochenftw (6 commits)")

---

Tags

imagesilverstripeorientationimage orientationimage rotation

### Embed Badge

![Health badge](/badges/salted-herring-image-orientation-fixer/health.svg)

```
[![Health](https://phpackages.com/badges/salted-herring-image-orientation-fixer/health.svg)](https://phpackages.com/packages/salted-herring-image-orientation-fixer)
```

###  Alternatives

[heyday/silverstripe-responsive-images

Configure and send a series of image size options to the client without loading any resources until a media query can be executed.

5389.1k6](/packages/heyday-silverstripe-responsive-images)[dnadesign/silverstripe-lazyloaded-image

Implements the LQIP (Low Quality Image Placeholder) pattern powered by lazysizes

1011.7k4](/packages/dnadesign-silverstripe-lazyloaded-image)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
