Bare bones SilverStripe image gallery module

by frank on November 17, 2011

in SilverStripe

This is an example image gallery that has no dependencies on other SilverStripe modules – not counting the SilverStripe framework and cms haha.

Just an example of a bare bones image gallery, using ComplexTableField instead of the DataObjectManager.

If you are looking for a more complete Image Gallery Tutorial please follow that link to a walkthrough, much of the process is the same.

It should be fairly easy to modify the code in this module to use say Uploadify instead of the ImageField, or to incorporate some kind of sortable module to change the order of the images, like this one maybe. I haven’t tried either of these things, but in theory they should work.

This module also includes an example of paginating images in the gallery fairly simply. The prev and next buttons are not included, but shouldn’t be too much trouble to figure out.

The module comes with the jQuery lightbox module installed, but again, it should not be too hard to swap this out.

Download the simple image gallery module

You can download the simple gallery module here from the GitHub repository, I threw this module together rather quickly to answer DesignerX’s question about paginating images so let me know if there are any problems with it please.

Was this article useful?

rss feed icon

Email this article to yourself or...

rss feed icon

Subscribe to the RSS feed for more useful articles and tips.

Share this article with others

  • del.icio.us
  • Twitter
  • Reddit
  • StumbleUpon
  • Facebook
  • Digg
  • http://deadlytechnology.com/silverstripe/silverstripe-image-gallery/ SilverStripe Image Gallery Tutorial : DataObjectManager Image Gallery | Deadly Technology

    [...] have created a simple image gallery module which uses much of the same principles from this article, you can download the code from the [...]