Hi everyone!
This is what I'm trying to do:
I want my gallery to show the pictures under "subAlbum1", while showing the links to the other subAlbums.
Time for an example, to make myself clearer...
Lets say you make an album for your weekend trip.
And you have a bunch of photos: on the car, on the beach, on the hotel.
I'd like to choose one of those subAlbums (on the car for instance) and still have a link to the beach the hotel.
Is that possible?
Thank you all in advance!
Comments
I was able to do a better search on the forums now and i saw you've been working on that for some time now.
I found a similar request at http://www.zenphoto.org/support/topic.php?id=2045
"For example, in album "Portfolio", there are subalbums "Spread1","Spread2","Spread3".
While looking at the thumbs or an image within "Spread2", I'd like to have a separate navigation that will show all the thumbs within all of the subalbums within "Portfolio""
But that code shows all of the thumbs.
Another one at http://www.zenphoto.org/support/topic.php?id=2834&replies=26
"I wanted this navigation from the startpage (div class=albumdesc) to look exactly he same in the albumview, so the user always can jump directly from the actual album to others without going back to home and than...."
What i'm aiming here is having one thumb link for each other subalbum and no links to the parent or other albums.
Php is handing my ass to me right now, so all help is welcome!
Link to the Layout Sketch
On the Home Page, i'll have a list of Albums to choose from (on thumbnails), and a main image (wich i can put through html).
Clicking on any of the albums takes the visitor to see more of that section (no photos of the albums, just showing the subalbums' thumbnails) and maybe a "welcome" image to that specific album, a montage or something...
Finally, upon choosing a subalbum the visitor can view all the pictures (for wich I have to thank Alex Wilson for his amazing work on Zenphoto+Galleria)
Did i explain better now?
The tricky part im finding now is linking ONLY the subalbums in thumbnails.
Again, any and all help is most welcome.
Thank you for all your time and attention.
It's a class method to be used `$_zp_current_album->getParent()`
For the "album 1 main image" you could simply have one image per toplevel album and show it with customimage/customalbumthumb function
Like, on the default template, when we enter any album, we have their thumbnails.
I`d like to still have the thumbnails, even when viewing any given album.
Only in this case, it would be the other subalbums. (on the third part of the layout sketch, we are viewing the pictures on subalbum1, and can still view the subalbums thumbnails)
I`d like to still have the thumbnails, even when viewing any given album.
You can show the thumbs of the album you are viewing by just taking the `next_image()`loop from album.php to image.php.
Only in this case, it would be the other subalbums. (on the third part of the layout sketch, we are viewing the pictures on subalbum1, and can still view the subalbums thumbnails)
Do you mean the album thumb or the thumbs of the image in that album? If the latter there is no easy way to do that, you would have to write a custom function for that.
the next_image() loop shows me the pictures inside the album i'm viewing right?
what i want is to show the next_album() loop inside the albums.
so i can choose to switch between albums without having to return to a previous page to choose another album.
Though not every album, wich are the links i get with printAlbumMenu.
if i have Album1 with Subalbum1A 1B and 1C, and Album2 with subs 2A 2B and 2C, I'd like the loop to display only the subalbums of that hierarchy.
If I'm in Album1, only to Display Subalbum 1A 1B and 1C, and disregard everything else.
Guess im looking for something noone ever tried right?
If you update to the latest nightly build, the printAlbumMenu() has now an option to show only links to the subalbums if in the album or one of the subalbums. You might try that. But of course the printAlbumMenu does not show any albums thumbs (well, menus don't do that).