PHPackages                             colymba/gridfield-gallery-theme - 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. colymba/gridfield-gallery-theme

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

colymba/gridfield-gallery-theme
===============================

SilverStripe 3 GridField component adding file or image thumbnail gallery view

v1.0.2(8y ago)157.1k10[1 issues](https://github.com/colymba/GridFieldGalleryTheme/issues)[2 PRs](https://github.com/colymba/GridFieldGalleryTheme/pulls)1BSD SimplifiedCSS

Since Jul 9Pushed 6y ago2 watchersCompare

[ Source](https://github.com/colymba/GridFieldGalleryTheme)[ Packagist](https://packagist.org/packages/colymba/gridfield-gallery-theme)[ Docs](https://github.com/colymba/GridFieldGalleryTheme)[ RSS](/packages/colymba-gridfield-gallery-theme/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (4)Used By (1)

⚠️ I haven't been able to give as much love as I would like to these repos as they deserve. If you have time and are interested to help maintain them, give me a shout. 🚨

GridField Gallery Theme
=======================

[](#gridfield-gallery-theme)

SS3 GridField component that attempt to change the GridField layout into an basic gallery view. (Still in dev)

[![preview](screenshots/GridFieldGalleryTheme_00.jpg)](screenshots/GridFieldGalleryTheme_00.jpg)

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

[](#requirements)

- [SilverStripe Framework 3.1+](https://github.com/silverstripe/silverstripe-framework)

About
-----

[](#about)

- Display gridfield item as thumbnails for Image has\_one relations
- Displays file type icons for File has\_one relations (sample icons by [filetypeicons.com](http://filetypeicons.com))
- Action button accessible on mouseover
- Great with [GridFieldBulkEditingTools](https://github.com/colymba/GridFieldBulkEditingTools)
- Works with [SortableGridField](https://github.com/UndefinedOffset/SortableGridField)

Usage
-----

[](#usage)

Add component like this:

```
$config->addComponent(new GridFieldGalleryTheme('HasOneRelation'));
```

with the string 'HasOneRelation' being the name of the has\_one Image/File relation in your DataObject that your want to use as thumbnail/icon preview.

### File type icons

[](#file-type-icons)

File type icons are stored in the component's folder under img/icons/ saved as PNG and name with the extension of the file type (i.e. pdf.png) Although, if no icon file is found for the specific extension, the extension is looked up in $fileTypeMapping to find a suitable icon.

NOTES
-----

[](#notes)

- Tested in Chrome, Safari, FireFox, Opera and IE9
- GridFieldSortableHeader is hidden since this causes problem with the layout (at least for now)

License (BSD Simplified)
------------------------

[](#license-bsd-simplified)

Copyright (c) 2013, Thierry Francois (colymba)

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name of Thierry Francois, colymba nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 88.1% 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 ~563 days

Total

3

Last Release

3204d ago

### Community

Maintainers

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

---

Top Contributors

[![colymba](https://avatars.githubusercontent.com/u/978040?v=4)](https://github.com/colymba "colymba (37 commits)")[![steffen-maass](https://avatars.githubusercontent.com/u/1007058?v=4)](https://github.com/steffen-maass "steffen-maass (3 commits)")[![spekulatius](https://avatars.githubusercontent.com/u/8433587?v=4)](https://github.com/spekulatius "spekulatius (1 commits)")[![terry-webfox](https://avatars.githubusercontent.com/u/10625888?v=4)](https://github.com/terry-webfox "terry-webfox (1 commits)")

---

Tags

silverstripegridfield thumbnailgridfield thumbnail viewgridfield themegridfield gallery themegridfield image gallery theme

### Embed Badge

![Health badge](/badges/colymba-gridfield-gallery-theme/health.svg)

```
[![Health](https://phpackages.com/badges/colymba-gridfield-gallery-theme/health.svg)](https://phpackages.com/packages/colymba-gridfield-gallery-theme)
```

###  Alternatives

[frankmullenger/gallery

SilverStripe Gallery Module

243.7k1](/packages/frankmullenger-gallery)[thisisbd/silverstripe-fixjpeg-orientation

SilverStripe Fix JPEG Orientation Module. Ensures that JPEG images uploaded from a mobile are rotated and saved upright according their orientation value for consistent viewing when displayed on a web page.

153.3k](/packages/thisisbd-silverstripe-fixjpeg-orientation)

PHPackages © 2026

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