PHPackages                             dft/silverstripe-featuredimage - 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. dft/silverstripe-featuredimage

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

dft/silverstripe-featuredimage
==============================

Adds a featured image to selected DataObjects

1.1.0(1y ago)01231BSD-3-ClausePHP

Since Jul 20Pushed 1y ago2 watchersCompare

[ Source](https://github.com/Dean-Forest-Tech/silverstripe-featuredimage)[ Packagist](https://packagist.org/packages/dft/silverstripe-featuredimage)[ Docs](http://github.com/Dean-Forest-Tech/silverstripe-featuredimage)[ RSS](/packages/dft-silverstripe-featuredimage/feed)WikiDiscussions 1 Synced 1mo ago

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

SilverStripe Featured Image
===========================

[](#silverstripe-featured-image)

Adds generic featured image to defined DataObjects and adds some extra helper methods

Instalation
-----------

[](#instalation)

Install via composer:

```
composer require "dft/silverstripe-featuredimage"

```

Setup
-----

[](#setup)

First off you need to map the extension to the object you want to add featured images to. You can do this via YML config:

```
Path\To\My\Object:
    extensions:
        - DFT\SilverStripe\FeaturedImage\ObjectExtension

```

**NOTE** By default, this module adds a featured image to `SiteTree ` (if the CMS is installed).

Usage
-----

[](#usage)

By default this module adds a field `FeaturedImage` to the CMS for your extended objects. This module also adds some simple helper methods:

`Object::getFeaturedImagesFromHierachy()`: Get a list of images, first from the current object and any parents, grandparents, etc. If the object doesn't support hierachy, then only a list with one item is returned.

`Object::getFeaturedImagesFromDescendants()`: Get a list of images, first from the current object and any parents, grandparents, etc. If the object doesn't support hierachy, then only a list with one item is returned.

Blog Module
-----------

[](#blog-module)

If the blog module is installed, this module will copy featured image ID's into the new FeaturedImageID on `SiteTree`

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

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

Total

4

Last Release

543d ago

### Community

Maintainers

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

---

Top Contributors

[![mlewis-everley](https://avatars.githubusercontent.com/u/687143?v=4)](https://github.com/mlewis-everley "mlewis-everley (15 commits)")

---

Tags

silverstripeimagesfeatured

### Embed Badge

![Health badge](/badges/dft-silverstripe-featuredimage/health.svg)

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

###  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)[bigfork/htmleditorsrcset

Simple srcset integration with SilverStripe’s HTMLEditorField

1025.4k4](/packages/bigfork-htmleditorsrcset)[silverstripers/seo

SEO for SilverStripe websites

1144.3k](/packages/silverstripers-seo)[silverstripe/multi-domain

Allows multiple domains to access one CMS instance, mapping them to different sections of the hierarchy

141.6k](/packages/silverstripe-multi-domain)

PHPackages © 2026

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