PHPackages                             bigfork/htmleditorsrcset - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. bigfork/htmleditorsrcset

ActiveSilverstripe-vendormodule[Utility &amp; Helpers](/categories/utility)

bigfork/htmleditorsrcset
========================

Simple srcset integration with SilverStripe’s HTMLEditorField

4.0.0(9mo ago)1025.4k↓43.8%3[1 issues](https://github.com/bigfork/htmleditorsrcset/issues)4BSD-3-ClausePHP

Since Apr 13Pushed 9mo ago4 watchersCompare

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

READMEChangelogDependencies (2)Versions (17)Used By (4)

HtmlEditorSrcset
================

[](#htmleditorsrcset)

Simple `srcset` integration with SilverStripe’s `HTMLEditorField`.

What it does
------------

[](#what-it-does)

Adds a `srcset` attribute for the provided pixel densities to every image inserted through TinyMCE. Resulting in an image tag like:

```

```

What it doesn’t do
------------------

[](#what-it-doesnt-do)

This module doesn’t add a `sizes` attribute, nor does it specify widths in `srcset` - only pixel densities.

Specifying your own pixel densities
-----------------------------------

[](#specifying-your-own-pixel-densities)

The module will add sources for 1x and 2x pixel densities by default. You can set your own pixel densities by setting the following in your `config.yml`:

```
Bigfork\HTMLEditorSrcset\ImageShortcodeHandler:
  pixel_densities: [1, 2, 3]
```

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance56

Moderate activity, may be stable

Popularity34

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 84.6% 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 ~227 days

Recently: every ~188 days

Total

16

Last Release

271d ago

Major Versions

1.x-dev → 2.0.02017-05-22

2.x-dev → 3.0.02023-10-03

3.x-dev → 4.0.02025-08-20

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/203294386?v=4)[-&gt; lozcalver](/maintainers/kinglozzer)[@kinglozzer](https://github.com/kinglozzer)

![](https://avatars.githubusercontent.com/u/1774129?v=4)[Colin Richardson](/maintainers/feejin)[@feejin](https://github.com/feejin)

---

Top Contributors

[![lozcalver](https://avatars.githubusercontent.com/u/1655548?v=4)](https://github.com/lozcalver "lozcalver (11 commits)")[![bummzack](https://avatars.githubusercontent.com/u/1006185?v=4)](https://github.com/bummzack "bummzack (2 commits)")

---

Tags

silverstripeimagesresponsivehtmleditorfieldsrcsetretinahtmleditor

### Embed Badge

![Health badge](/badges/bigfork-htmleditorsrcset/health.svg)

```
[![Health](https://phpackages.com/badges/bigfork-htmleditorsrcset/health.svg)](https://phpackages.com/packages/bigfork-htmleditorsrcset)
```

###  Alternatives

[silverstripe/blog

A fresh take on blogging in Silverstripe set out to tackle the issue of a cluttered Site Tree.

104739.2k31](/packages/silverstripe-blog)[silverstripers/seo

SEO for SilverStripe websites

1144.3k](/packages/silverstripers-seo)

PHPackages © 2026

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