listing all sub-album images

jalder

Joined: 2008-12-06
Posts: 3
Posted: Sat, 2008-12-06 23:19

Hello,

I have integrated gallery2 into drupal and I am looking to do the following.

My gallery is set up as such:

Album1
-Sub-Album1
-Sub-Album2
..
-Sub-AlbumN
ALbum2
-Sub-Album1
-Sub-Album2
..
-Sub-AlbumN

What I need the theme to do is the following (I am basing this off of the Matrix theme)

When user clicks link for Album1, they see the following:

Album1.title
-Sub-Album1.title
ALL THUMBNAILS OF SUB-ALBUM1
-Sub-Album2.title
ALL THUMBNAILS OF SUB-ALBUM2
....

And likewise when they follow the link for Album2

Pretty straightforward, but I am having trouble with this.

Can anyone offer any insight into this?

Thanks

Jalder

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2008-12-07 04:11

This is a bit confusing to me.

Quote:
Album1.title
-Sub-Album1.title
ALL THUMBNAILS OF SUB-ALBUM1
-Sub-Album2.title
ALL THUMBNAILS OF SUB-ALBUM2

Looks to me like the Sub-Album1 and Sub-Album2 are at the same level with just a title separator.
Not hard to do if you keep fixed sizes of quantities of items in the album , but more complex for variable quantities.
there is a similar theme that separates subitems by date.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
jalder

Joined: 2008-12-06
Posts: 3
Posted: Sun, 2008-12-07 04:19

Hello,

That is correct, sub-album1 and sub-album2 are both sub-albums of album1. Am I going about Gallery wrong by making sub-albums, is there a way to title certain portions of an album as part of one group and other portions of an album to another, perhaps it would be more clear as such:

Photography Album
-Portraits Album
-Minimal Portraits of Interiors and Exteriors Album

Graphic Design
-Posters
-Ad Campaign
-CD Covers

So, user enters site and sees links Photography and Graphic Design, when they click Photography, they see:

Portraits Album
[ALL PORTAIT THUMBNAILS]
Minimal Portraits of Interiors and Exteriors Album
[ALL MINIMAL.. THUMNAILS]

Clearer?

Thanks!

Jalder

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2008-12-07 06:22

You would need to create a custom theme that would do that.
The thing is how are you going to differentiate items and add a title between them?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
jalder

Joined: 2008-12-06
Posts: 3
Posted: Sun, 2008-12-07 23:28

I was hoping to pull it all dynamically.

I am now starting to realize how I will need to basically build this from the ground up.

Here is what I am looking to do.

Grab the Top Level Album Title (there are 2 Top level albums and X number of sub-albums)
Grab the first sub album title
list all first sub album thumbnails
Grab the second sub album title
list all second sub album thumbnails
....

thats how I was hoping to separate the items and add a title between them.

Thank you for all your time.

Jalder