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

multiple galleries


Go to End


2 Posts   1824 Views

Avatar
mememan

Community Member, 3 Posts

4 December 2007 at 6:22am

Im looking to implement the gallery on a site we are building per 'product/item' basis rather than everything in the assets library.

each product will have logically named images ie product_name_ID_01_main.jpg

so I'd like a gallery per product that will only show images of **_ID_**_main.jpg

has anyone done something like this with gallery or would I be better of just using lightbox directly to achieve this?

Avatar
Sigurd

Forum Moderator, 628 Posts

4 December 2007 at 1:55pm

If you have a fairly consistent number of images per product you could just add image-upload fields to pages, and use a page for each product.

Refer to the tutorials where you create staff members with photos. You could just have another few pictures for each staff member.