Forum

Thread tagged as: Question, Suggestions, Gallery

Gallery albums

Hi,

Im looking to create a gallery of different fireplaces for my client. The client would like to have 2 main galleries, one for Antique fireplaces and one for Modern fireplaces. Within each of these galleries, the client would like a couple of different albums.

So it would look something like this

Antique Fireplaces
    Brand 1
       Brand Images
    Brand 2
       Brand Images
    Brand 3
       Brand Images

Modern Fireplaces
       Brand Images
    Brand 1
       Brand Images
    Brand 2
       Brand Images
    Brand 3
       Brand Images

i would need the main gallery page to display something like this.

Antique Fireplaces
brand 1 image    brand 2 image    brand 3 image
brand 1 title        brand 2 title        brand 3 title

Modern Fireplaces
brand 1 image    brand 2 image    brand 3 image
brand 1 title        brand 2 title        brand 3 title

I have been playing with the gallery but so far i havent come across a way to do this. any suggestions / code would be great.

EDIT

My examples didnt come out how they where meant to. and i cant upload an image.

The basics of it is im looking to have an album within an album.

ltjfan site

ltjfan site 0 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

I would add a select field to the image.html template with a choice of Antique or Modern.

Create one album per brand, containing a mix of antique and modern images.

Then list all the albums first filtering for antique, and then again filtering for modern.

Sorry i'm pretty new to perch, i have added this to my .html file but nothing is showing up within the admin area.

<perch:content id="brand" type="select" label="Brand" options="Brand 1, Brand 2, Brand 3, Brand 4" allowempty="false" required="true" />

As this is a template for the gallery app you would use

perch:gallery not perch:content hopefully that helps