Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Gallery Module Error

Go to End

7 Posts   4019 Views


9 Posts

21 October 2007 at 2:04pm


I love Silverstripe! But of course, not everything goes to plan.

I downloaded the gallery module. Uploaded it to the server, and put the directory 'gallery' into the main file area. In my case that is public_html along with all the other directories, like tutorial, themes, cms, saphire and so on.

I did a db/build/
I flushed the cache with ?flush=1

I can create a gallery page from within the cms. I can upload pictures using the file/images module thingy.

When I publish the site, to look at my new gallery page, there is no pictures.

I have tried putting hte images into different directories, and letting the gallery page know which one to look in. But it never shows me any of the uploaded images.

Any ideas?


Community Member, 18 Posts

24 October 2007 at 3:04am

I'm also experiencing a similar problem.

More interestingly, if I attempt to upload a default image in the Gallery tab I get a server error.

The website server has not been able to respond to your request.

Perhaps it's related to my configuration? Are there any particular applications/programs I need installed?


8 Posts

24 October 2007 at 8:20am

One thing you might one to check is whether the "Images" extension is selected on the "Extensions" tab of a gallery page. I ran into the same thing you're experiencing, and doing this actually showed the images. It makes sense, I just didn't think to do it initially.

The default image is also working incorrectly for me.


Community Member, 18 Posts

24 October 2007 at 11:39am

You're right, that works. I skimmed over the instructions too fast I suppose.

I added a "Trouble-shooting and common mistakes" section to the module article, highlighting this problem :P

Thanks for your help.


9 Posts

25 October 2007 at 12:30pm

Edited: 25/10/2007 1:10pm

The instructions did not include the information that that page does. Which was a problem. I was under the impression that once the gallery directory was uploaded and the db/build/ was done that would be it. I did not know I'd have to go and enter in <% include GalleryPageContent %> in another file.

Problem solved.

The Frenchy

Core Development Team, 40 Posts

5 November 2007 at 11:13am

Actually, we have prefered to put the Gallery content as an include file because people want to put their gallery in different place in their template (before or after the text content for instance)


Forum Moderator, 628 Posts

5 November 2007 at 4:54pm

Edited: 05/11/2007 4:55pm

Frenchy; can we make it so that the "Images" extensions is selected on the "Extensions" tab of a gallery page by default?