zenphoto forums » General Zenphoto Discussion

Confusion about displaying images and albums together

(6 posts)
  • Started 8 years ago by climberusa
  • Latest reply from climberusa
  1. climberusa

    Member
    Joined: Jun '06
    Posts: 10

    Hi. I've just completed a new site based on Zenphoto and Zenpage. These are awesome apps and much thanks goes to the developers! I'm having trouble understanding why on my albums page I can set the number of albums and images to display on a page but it doens't make sense. For example, On this page http://www.claesonkids.com/jeff-and-cortney I want to display 6 albums and 20 images. It semed to work when I only had 6 albums to begin with but as soon as I got more (now 14) it shows 6 albums but no images until you go to the last page. I have set the template to $firstPageImages = normalizeColumns('6', '20'); and in the admin I've set it up to show 6 albums and 20 images. I'm really not sure what to do here. I'd really appreciate some insight if anyone has some.

    Thanks!

    Posted 8 years ago #
  2. Zenphoto development team
    acrylian

    Zenphoto team
    Joined: Jul '07
    Posts: 16,769

  3. sbillard

    Contributor
    Joined: May '07
    Posts: 10,508

    You are seeing the correct behavior. The thumbnails are displayed on pages filling the page. The definitions tell how many of each type of thumbnail are to fit on a page. The firstPageImages lets zenphoto know how many image thumbnails will fit on a page that has not completely filled with album thumbnails.

    Posted 8 years ago #
  4. climberusa

    Member
    Joined: Jun '06
    Posts: 10

    So is it possible to have my six albums per page and also show up to 20 images on that same page? I've read the docs and it still didn't quite make sense to me. Thank you both for your quick replies!

    Posted 8 years ago #
  5. Zenphoto development team
    acrylian

    Zenphoto team
    Joined: Jul '07
    Posts: 16,769

    Sure, just remove the normalize columns function.

    Don't forget to read the Forum rules and usage resources
    Posted 8 years ago #
  6. climberusa

    Member
    Joined: Jun '06
    Posts: 10

    I removed it in albums.php but that made no difference.

    Posted 8 years ago #

RSS feed for this topic

Reply

You must log in to post.