PHPackages                             joshcronin/silverstripe-optimisedimages - 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. joshcronin/silverstripe-optimisedimages

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

joshcronin/silverstripe-optimisedimages
=======================================

1.4(8y ago)120MITPHP

Since Aug 22Pushed 8y ago2 watchersCompare

[ Source](https://github.com/joshcronin/silverstripe-optimisedimages)[ Packagist](https://packagist.org/packages/joshcronin/silverstripe-optimisedimages)[ RSS](/packages/joshcronin-silverstripe-optimisedimages/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (5)Dependencies (3)Versions (6)Used By (0)

Silverstripe Optimised Images
=============================

[](#silverstripe-optimised-images)

Automatically optimise images that are uploaded to the SilverStripe CMS

---

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

[](#installation)

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

### Via Composer

[](#via-composer)

`$ composer require joshcronin/silverstripe-optimisedimages`

### Manually

[](#manually)

1. Download the module from [the releases page](https://github.com/joshcronin/silverstripe-optimisedimages/releases).
2. Extract the files.
3. Make sure the folder after being extracted is named 'silverstripe-optimisedimages'.
4. Place this directory in your sites root directory. This is the one with framework and cms in it.
5. Run `/dev/build` on your site.

---

Usage
-----

[](#usage)

The plugin extends to the `onAfterUpload` method of the `Image` object. Whenever an `Image` object is uploaded it will optimise the image using the options defined in `app.yaml`.

There are three keys in the config that are used regardless of the optimisation provider. These are `Use`, `SaveOriginal` and `OriginalDir`.

#### Use

[](#use)

Use accepts two values `Kraken` or `TinyPNG`. The value is used to decide which service to use to optimise the images.

#### SaveOriginal

[](#saveoriginal)

SaveOrginal accepts a boolean, if true it will keep the original image - unoptimised - at the directory specified in the `OriginalDir` key.

#### OriginalDir

[](#originaldir)

OriginalDir accepts a string representing the path to the directory that the original images should be saved to. This is only used if `SaveOriginal` is set to `true`.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity67

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

Every ~0 days

Total

5

Last Release

3234d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0dcad45844d8e6170e5f2ede5a5425ded13a275b8b00bf4f790050d83bc2c509?d=identicon)[joshcronin](/maintainers/joshcronin)

---

Top Contributors

[![joshcronin](https://avatars.githubusercontent.com/u/8404465?v=4)](https://github.com/joshcronin "joshcronin (12 commits)")

### Embed Badge

![Health badge](/badges/joshcronin-silverstripe-optimisedimages/health.svg)

```
[![Health](https://phpackages.com/badges/joshcronin-silverstripe-optimisedimages/health.svg)](https://phpackages.com/packages/joshcronin-silverstripe-optimisedimages)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.3k10](/packages/helsingborg-stad-municipio)[mindkomm/timmy

Advanced image manipulation for Timber.

17737.1k](/packages/mindkomm-timmy)[symbiote/silverstripe-advancedworkflow

Adds configurable workflow support to the CMS, with a GUI for creating custom workflow definitions.

46302.4k9](/packages/symbiote-silverstripe-advancedworkflow)[starcitizenwiki/embedvideo

Adds a parser function embedding video from popular sources.

399.0k](/packages/starcitizenwiki-embedvideo)[frankmullenger/gallery

SilverStripe Gallery Module

223.7k1](/packages/frankmullenger-gallery)[chkilel/icones-plugin

Access thousands of icons including popular icon sets, icon fonts and several Emoji sets from a backed Form Widget

171.6k](/packages/chkilel-icones-plugin)

PHPackages © 2026

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