PHPackages                             sunnysideup/silverstripe-scaled-uploads - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. sunnysideup/silverstripe-scaled-uploads

ActiveSilverstripe-vendormodule[File &amp; Storage](/categories/file-storage)

sunnysideup/silverstripe-scaled-uploads
=======================================

Automatically scale down and rotate uploaded images for Silverstripe. This module is based on axllent's version.

4.4.5(3mo ago)0666↑16.7%1[1 PRs](https://github.com/sunnysideup/silverstripe-scaled-uploads/pulls)1MITPHP

Since Dec 21Pushed 1mo agoCompare

[ Source](https://github.com/sunnysideup/silverstripe-scaled-uploads)[ Packagist](https://packagist.org/packages/sunnysideup/silverstripe-scaled-uploads)[ Docs](https://github.com/sunnysideup/silverstripe-scaled-uploads)[ RSS](/packages/sunnysideup-silverstripe-scaled-uploads/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (35)Used By (1)

Automatically scale down uploaded images for Silverstripe
=========================================================

[](#automatically-scale-down-uploaded-images-for-silverstripe)

Reduce your footprint!

For all newly uploaded images in Silverstripe, this extension will automatically scale down (reduce width / height), compress, and convert them to webp to ensure your images are as light as possible, without significantly affecting quality.

history
-------

[](#history)

This module was originally created by [Axllent](https://github.com/axllent/silverstripe-scaled-uploads/). We rewrote it to match our needs and it ended up so different now from the original module that our pull request did much sense anymore.

Requirements
------------

[](#requirements)

- Silverstripe ^4.0 || ^5.0

Usage
-----

[](#usage)

Simply install the module and then set your own limits. For setting your limtis please refer to the [Configuration.md](docs/en/Configuration.md) file.

To use the functionality somewhere else, you can do something like this:

```
use Sunnysideup\ScaledUploads\Api\Resizer;
use SilverStripe\Assets\Image;

$runner = Resizer::create()
    ->setMaxHeight(100)
    ->setMaxFileSizeInMb(0.6)
    ->setDryRun(true)
    ->setVerbose(true);

$imagesIds = Image::get()->sort(['ID' => 'DESC'])->columnUnique();
foreach ($imagesIds as $imageID) {
    $image = Image::get()->byID($imageID);
    if ($image->exists()) {
        $runner->runFromDbFile($image);
    }
}
```

Installation
------------

[](#installation)

```
composer require sunnysideup/silverstripe-scaled-uploads
```

Batch process existing images
-----------------------------

[](#batch-process-existing-images)

If you would like to batch process existing images then you can use the [Resize All Images Module](https://github.com/sunnysideup/silverstripe-resize-all-images/) that extends this module.

Providing more guidance to the user when uploading images
---------------------------------------------------------

[](#providing-more-guidance-to-the-user-when-uploading-images)

Use the [Perfect CMS Images Module](https://github.com/sunnysideup/silverstripe-perfect_cms_images) to provide more guidance to the user when uploading images.

Rotation
--------

[](#rotation)

This extension no longer supports auto-rotation of JPG images (i.e. portrait images taken with digital cameras or cellphones). However, this should now also be part of Silverstripe core functionality if you are using ImageMagick instead of GD - see `vendor/silverstripe/assets/src/InterventionBackend.php:278` (not sure if or how this works).

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance87

Actively maintained with recent releases

Popularity18

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 58% 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

Every ~112 days

Recently: every ~28 days

Total

34

Last Release

95d ago

Major Versions

1.0.2 → 2.0.02017-06-28

1.0.3 → 2.2.32023-04-12

2.3.5 → 3.0.02024-11-11

3.0.6 → 4.0.02024-11-18

4.4.5 → 5.x-dev2026-02-07

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/167154?v=4)[Sunny Side Up](/maintainers/sunnysideup)[@sunnysideup](https://github.com/sunnysideup)

---

Top Contributors

[![axllent](https://avatars.githubusercontent.com/u/1463435?v=4)](https://github.com/axllent "axllent (80 commits)")[![sunnysideup](https://avatars.githubusercontent.com/u/167154?v=4)](https://github.com/sunnysideup "sunnysideup (48 commits)")[![S-GrabhamMadden](https://avatars.githubusercontent.com/u/27248899?v=4)](https://github.com/S-GrabhamMadden "S-GrabhamMadden (7 commits)")[![mlewis-everley](https://avatars.githubusercontent.com/u/687143?v=4)](https://github.com/mlewis-everley "mlewis-everley (2 commits)")[![baukezwaan](https://avatars.githubusercontent.com/u/795238?v=4)](https://github.com/baukezwaan "baukezwaan (1 commits)")

---

Tags

imagesilverstripefilesuploadassetsspeedrotateuploadsscaled

### Embed Badge

![Health badge](/badges/sunnysideup-silverstripe-scaled-uploads/health.svg)

```
[![Health](https://phpackages.com/badges/sunnysideup-silverstripe-scaled-uploads/health.svg)](https://phpackages.com/packages/sunnysideup-silverstripe-scaled-uploads)
```

###  Alternatives

[axllent/silverstripe-scaled-uploads

Automatically scale down and rotate uploaded images for Silverstripe

2580.3k8](/packages/axllent-silverstripe-scaled-uploads)[unclecheese/silverstripe-kickassets

Provides an alternative file management interface for SilverStripe CMS with drag-and-drop, multi-selection, and several other desktop-like UI conventions.

4728.3k1](/packages/unclecheese-silverstripe-kickassets)[unclecheese/kickassets

Provides an alternative file management interface for SilverStripe CMS with drag-and-drop, multi-selection, and several other desktop-like UI conventions.

484.0k](/packages/unclecheese-kickassets)[unclecheese/dropzone

An HTML5 upload field for the CMS and frontend forms.

46130.7k6](/packages/unclecheese-dropzone)[axllent/silverstripe-image-optimiser

Automatically optimise all uploaded &amp; resampled images in Silverstripe

1118.4k2](/packages/axllent-silverstripe-image-optimiser)

PHPackages © 2026

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