https://github.com/axllent/silverstripe-scaled-uploads
Automatically scale down, auto-rotate & compress uploaded images in Silverstripe
https://github.com/axllent/silverstripe-scaled-uploads
image-optimisation silverstripe-module
Last synced: 10 months ago
JSON representation
Automatically scale down, auto-rotate & compress uploaded images in Silverstripe
- Host: GitHub
- URL: https://github.com/axllent/silverstripe-scaled-uploads
- Owner: axllent
- License: mit
- Created: 2013-04-14T00:09:52.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2025-08-06T01:49:59.000Z (11 months ago)
- Last Synced: 2025-08-06T03:25:02.671Z (11 months ago)
- Topics: image-optimisation, silverstripe-module
- Language: PHP
- Homepage:
- Size: 55.7 KB
- Stars: 23
- Watchers: 3
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Automatically scale down uploaded images for Silverstripe
An extension to automatically scale down all new uploaded images in Silverstripe and (optionally) compress
all uploaded images (resample). If the uploaded image is larger than a pre-configured size, it will be scaled down.
The extension also supports auto-rotation of JPG images eg: portrait images taken with digital cameras or cellphones.
It also supports custom folder configurations to allow for different settings based on the folder they are uploaded into.
## Requirements
- Silverstripe ^4.0 || ^5.0 || ^6.0
- EXIF support for auto-rotation
For Silverstripe 3, please refer to the [Silverstripe3 branch](https://github.com/axllent/silverstripe-scaled-uploads/tree/silverstripe3).
## Usage
Simply install the module. All images are (by default) scaled to a maximum size of 960px (width) X 800px (height),
and auto-rotation (based on EXIF data) for JPG images is by default **on**.
## Configuration
Please refer to the [Configuration.md](docs/en/Configuration.md) file for options.
## Installation
```shell
composer require axllent/silverstripe-scaled-uploads
```