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 - include subdirectories?


Go to End


3 Posts   1919 Views

Avatar
janulka

Community Member, 80 Posts

13 November 2008 at 4:57am

Hey,

I want to use several galleries throughout the whole website, placed in several subfolders of one "Gallery" folder.

Then I would like to have one "Gallery" page where all the images are displayed.

How to get Gallery Module to read not only single directory, but also subdirectories of a given directory? It is important that client does not have to upload same images twice.

Anybody who has an awesome snippet I could place in GalleryPage.php? :) (I do not know any php)

thanks in advance!

Avatar
janulka

Community Member, 80 Posts

17 November 2008 at 1:50am

anybody plz?

Avatar
Ingo

Forum Moderator, 801 Posts

29 November 2008 at 9:22pm

Good idea, i've created an enhancement ticket: http://open.silverstripe.com/ticket/3170