PHPackages                             stnvh/silverstripe-responsive-images-srcset - 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. stnvh/silverstripe-responsive-images-srcset

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

stnvh/silverstripe-responsive-images-srcset
===========================================

Addon for responsive images module to use the img/srcset standard

0.1.0(10y ago)1221[2 PRs](https://github.com/stnvh/silverstripe-responsive-images-srcset/pulls)BSD-3-ClausePHP

Since Dec 16Pushed 10y ago1 watchersCompare

[ Source](https://github.com/stnvh/silverstripe-responsive-images-srcset)[ Packagist](https://packagist.org/packages/stnvh/silverstripe-responsive-images-srcset)[ Docs](https://github.com/stnvh/silverstripe-responsive-images-srcset)[ RSS](/packages/stnvh-silverstripe-responsive-images-srcset/feed)WikiDiscussions master Synced 3w ago

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

Silverstripe Responsive Images - `srcset` extension
===================================================

[](#silverstripe-responsive-images---srcset-extension)

[![Latest Stable Version](https://camo.githubusercontent.com/c5f52f276778a2295f3a397c6c0ec1c0af9f5f26061e9cd971a65e89c9ed8e96/68747470733a2f2f706f7365722e707567782e6f72672f73746e76682f73696c7665727374726970652d726573706f6e736976652d696d616765732d7372637365742f762f737461626c652e737667)](https://packagist.org/packages/stnvh/silverstripe-responsive-images-srcset) [![License](https://camo.githubusercontent.com/acc5fa45cab63957b9c9f446f5f6fed9b60ee97f9dfaafce5fc57613970db6ef/68747470733a2f2f706f7365722e707567782e6f72672f73746e76682f73696c7665727374726970652d726573706f6e736976652d696d616765732d7372637365742f6c6963656e73652e737667)](https://packagist.org/packages/stnvh/silverstripe-responsive-images-srcset)

Addon for the [responsive images module](https://github.com/heyday/silverstripe-responsive-images) to use the img/srcset standard

By Stan Hutcheon - [Bigfork Ltd](http://bigfork.co.uk)

Installation:
-------------

[](#installation)

### Composer:

[](#composer)

```
composer require "stnvh/silverstripe-responsive-images-srcset" "0.x"

```

### Download:

[](#download)

Clone this repo into the root of your silverstripe installation folder.

### Usage:

[](#usage)

See the [responsive images module usage](https://github.com/heyday/silverstripe-responsive-images#how-to-use) for basic config.

The option to automatically generate retina images has been added for ease. It can be enabled via yml:

```
ResponsiveImageExtension:
  sets:
    GallerySet:
      method: CroppedFocusedImage
      sizes:
        - {query: "(min-width: 640px)", size: 820x640}
        - {query: "(min-width: 940px)", size: 1128x768}
      default_size: 960x480
	  retina: true
```

### Notes:

[](#notes)

- A polyfill is required for IE 11 &amp; below.
- This has only been tested with min-width queries.

After installing via composer, you must */dev/build* and flush

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

3848d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/63bfb76d3f834eb0d396f4d8b4e6cd4878eed7944990a998980192411d99bc95?d=identicon)[stnvh](/maintainers/stnvh)

---

Tags

imagesilverstripecmsresponsivesrcset

### Embed Badge

![Health badge](/badges/stnvh-silverstripe-responsive-images-srcset/health.svg)

```
[![Health](https://phpackages.com/badges/stnvh-silverstripe-responsive-images-srcset/health.svg)](https://phpackages.com/packages/stnvh-silverstripe-responsive-images-srcset)
```

###  Alternatives

[spacecatninja/imager-x

Ninja powered image transforms.

29399.9k35](/packages/spacecatninja-imager-x)[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.

5389.1k6](/packages/heyday-silverstripe-responsive-images)[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.3k10](/packages/helsingborg-stad-municipio)

PHPackages © 2026

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