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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   2201 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