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

multiple galleries


Go to End


2 Posts   1558 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.