PHPackages                             studiobonito/silverstripe-imagefunctions - 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. studiobonito/silverstripe-imagefunctions

Abandoned → [heyday/silverstripe-imageextension](/?search=heyday%2Fsilverstripe-imageextension)Silverstripe-module[Image &amp; Media](/categories/media)

studiobonito/silverstripe-imagefunctions
========================================

Image Functions Module primarily adds more image functions to the Image object but it also adds some useful SiteConfig settings.

3.3.2(10y ago)83945[4 PRs](https://github.com/studiobonito/silverstripe-imagefunctions/pulls)BSD-2-ClausePHPPHP &gt;=5.3.2

Since Jan 28Pushed 10y ago2 watchersCompare

[ Source](https://github.com/studiobonito/silverstripe-imagefunctions)[ Packagist](https://packagist.org/packages/studiobonito/silverstripe-imagefunctions)[ RSS](/packages/studiobonito-silverstripe-imagefunctions/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (12)Used By (0)

WARNING: Module depreciated
===========================

[](#warning-module-depreciated)

This SilverStripe module is depreciated please consider using the [`silverstripe-imageextension`](https://github.com/heyday/silverstripe-imageextension) module instead.

Image Functions Module
======================

[](#image-functions-module)

Overview
--------

[](#overview)

Image Functions Module primarily adds more image functions to the Image object but it also adds some useful SiteConfig settings.

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

[](#requirements)

SilverStripe 3.0 or newer.

Installation Instructions
-------------------------

[](#installation-instructions)

Copy the 'imagefunctions' folder to your the root of your SilverStripe installation.

Functions
---------

[](#functions)

### RationCrop

[](#rationcrop)

RatioCrop is an Image function that resizes then crops the image, which we thinks gives the best results when dealing with user uploaded images.

#### Usage Overview

[](#usage-overview)

```

	$RatioCrop(200,300)

```

Placeholder Images
------------------

[](#placeholder-images)

This module also provides the facility to set placeholder images via three DataExtensions (PlaceholderImagePageExtension, PlaceholderImagePerPageExtension, PlaceholderImageSiteConfigExtension).

### Usage Overview

[](#usage-overview-1)

```
$PlaceholderImage

```

### PlaceholderImageSiteConfigExtension (Required)

[](#placeholderimagesiteconfigextension-required)

This is the main extension which adds a PlaceholderImage to the SiteConfig. This extension must be configured in order to use either of the others.

### PlaceholderImagePageExtension (Required)

[](#placeholderimagepageextension-required)

This extension adds methods to access the PlaceholderImage. By default this extension is added to the Page DataObject.

### PlaceholderImagePerPageExtension (Optional)

[](#placeholderimageperpageextension-optional)

This extension adds a PlaceholderImage to any DataObject. It is designed to be added to DataObjects that act as parents to other DataObjects, thus allowing for localised inheritance of PlaceholderImages.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

Established project with proven stability

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 ~104 days

Recently: every ~210 days

Total

10

Last Release

3917d ago

Major Versions

2.2.1 → 3.0.02013-03-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/a1cdffb2470e61ce85c185cae9e66522333c395a8ee560c8e7a037512c14ce7b?d=identicon)[nedmas](/maintainers/nedmas)

---

Tags

imagesilverstripe

### Embed Badge

![Health badge](/badges/studiobonito-silverstripe-imagefunctions/health.svg)

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

###  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.

5387.7k6](/packages/heyday-silverstripe-responsive-images)[unclecheese/silverstripe-image-optionset

Provides a list of selectable items that use images as the primary label instead of text.

139.1k2](/packages/unclecheese-silverstripe-image-optionset)[chrometoaster/silverstripe-image-quality

Adds Quality function to images

1013.0k1](/packages/chrometoaster-silverstripe-image-quality)[dnadesign/silverstripe-lazyloaded-image

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

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

PHPackages © 2026

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