Member
Member
marcov   29-07-2009, 12:58
#1

I have an album with images in several pages and one private sub-album. The sub-album always shows up in the album as the first thumb, labeled as expected, private.

For aesthetics and other reasons, I would like the (private) sub-album thumb to show up as the last photo on the last page, instead of the first thumb on the first page.

Is there a way to do this?

Administrator
Administrator
acrylian   29-07-2009, 13:18
#2

You will have to change your album.php theme page. It always lists sub albums first if available and then images. Just reverse the order of the next_album and next_image loops.

Member
Member
marcov   29-07-2009, 13:51
#3

Oh, that was the first thing I tried. It did change the location of the sub-album thumb from the first thumb on page one, to the last thumb but still on page one, not on the last page.

Here's the code I have:

            " title="">









            " title="">



                " title="">
Administrator
Administrator
acrylian   29-07-2009, 15:15
#4

Sorry, I don't know any way to tell the album on which page it should appear. You can try to remove the normalizeColumn() function (see the numerous threads and the doc).

Member
Member
sbillard   29-07-2009, 16:21
#5

You will have to remove the album loop and manually insert the thumb wherever you wish it to appear.

Member
Member
marcov   29-07-2009, 16:24
#6

I already tried removing the normalizeColum() function - it did not fix the problem.
I also read the forum and docs.

It seems though that the sub-album feature still causes some problems or unexpected behavior. One was fixed in a recent release (the password problem). Other problems, like the incorrect number if thumbs on the first album page, or the famous "transition" page that has both album ad image thumbs, are still there. For me this means ignoring the sub-album feature, as pages with incomplete number of thumbs on them (except maybe the last one) is not very pleasing for the visitors.

Anyway, thanks for the feedback, I'll keep trying to find a solution, other than creating a main album from the sub-album.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.