PHPackages                             littlegiant/silverstripe-cms-image-dimensions - 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. littlegiant/silverstripe-cms-image-dimensions

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

littlegiant/silverstripe-cms-image-dimensions
=============================================

3.2.1(7y ago)41.9k↓57.1%1PHPPHP &gt;=7.1

Since Jun 20Pushed 7y ago3 watchersCompare

[ Source](https://github.com/littlegiant/silverstripe-cms-image-dimensions)[ Packagist](https://packagist.org/packages/littlegiant/silverstripe-cms-image-dimensions)[ RSS](/packages/littlegiant-silverstripe-cms-image-dimensions/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (3)Versions (13)Used By (0)

SilverStripe CMS Image Dimensions
=================================

[](#silverstripe-cms-image-dimensions)

Easily add image dimensions to image fields and enforce maximum sizes for uploads to those fields through configuration.

Provides a single source of image dimensions for the user in the CMS

[![CMS Image Dimensions](https://github.com/littlegiant/silverstripe-cms-image-dimensions/raw/master/images/cms-image-dimensions.png)](https://github.com/littlegiant/silverstripe-cms-image-dimensions/blob/master/images/cms-image-dimensions.png)[![CMS Image Dimensions on object](https://github.com/littlegiant/silverstripe-cms-image-dimensions/raw/master/images/cms-image-dimensions-on-object.png)](https://github.com/littlegiant/silverstripe-cms-image-dimensions/blob/master/images/cms-image-dimensions-on-object.png)

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

[](#installation)

Installation via composer

```
$ composer require littlegiant/silverstripe-cms-image-dimensions

```

Usage
-----

[](#usage)

Set definitions in a yml config and add that configuration to the images which you want it to apply to

```
LittleGiant\CmsImageDimensions\ImageDimensionsProvider:
  max_size: 512K
  definitions:
    blog-post-featured-image:
      name: Blog Post Featured Image
      description: Featured image on your blog post.
      min_width: 1024
      min_height: 768
      validate_dimensions: true
      aspect_ratio: 4:3
      validate_aspect_ratio: true
      max_size: 1M # override default of 512KB to allow larger images

SilverStripe\Blog\Model\BlogPost:
  image_dimensions:
    FeaturedImage: blog-post-featured-image
```

Contributing
------------

[](#contributing)

### Code guidelines

[](#code-guidelines)

This project follows the standards defined in:

- [PSR-0](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md)
- [PSR-1](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md)
- [PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md)

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

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

Recently: every ~21 days

Total

11

Last Release

2837d ago

Major Versions

1.1 → 2.02018-07-02

2.1 → 3.02018-07-05

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1953220?v=4)[Stevie Mayhew](/maintainers/stevie-mayhew)[@stevie-mayhew](https://github.com/stevie-mayhew)

![](https://www.gravatar.com/avatar/13a1b78f31cdad3eecbe5d11aadc3f5c527f76cde37710ab91dc03c42565f152?d=identicon)[RyanPotter](/maintainers/RyanPotter)

### Embed Badge

![Health badge](/badges/littlegiant-silverstripe-cms-image-dimensions/health.svg)

```
[![Health](https://phpackages.com/badges/littlegiant-silverstripe-cms-image-dimensions/health.svg)](https://phpackages.com/packages/littlegiant-silverstripe-cms-image-dimensions)
```

###  Alternatives

[silverstripe/cms

The SilverStripe Content Management System

5253.6M1.4k](/packages/silverstripe-cms)[dnadesign/silverstripe-elemental

Elemental pagetype and collection of Elements

1141.1M310](/packages/dnadesign-silverstripe-elemental)[symbiote/silverstripe-advancedworkflow

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

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

SilverStripe admin interface

262.8M385](/packages/silverstripe-admin)[silverstripe/recipe-cms

SilverStripe recipe for fully featured page and asset content editing

212.5M224](/packages/silverstripe-recipe-cms)[silverstripe/asset-admin

Asset management for the SilverStripe CMS

192.6M95](/packages/silverstripe-asset-admin)

PHPackages © 2026

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