printCustomAlbumThumbMaxSpace() random gallery image

Hello again.
I'm certainly missing something here but when I use printCustomAlbumThumbMaxSpace() to display a thumb per gallery inside gallery.php, the function returns a random image extracted from each gallery.

I don't know any way to specifie it to choose only the first image of each gallery...
Could you help me?

`
<?php while (next_album()): ?>

<?php endwhile; ?>
`

Comments

  • acrylian Administrator, Developer
    Albumthumbs are always randomly taken from the gallery if you don't set a fixed album thumb on the album admin page.
  • Note also that you can change the default thumbnail selection criteria from the reset thumbnails utility on the overview page
  • yeeeeeeeeeeeeeeeeees!
    thank you!
    the "choose this image as album cover " had just done the trick.
    So evident I didn't saw it ;)
    And the shuffle mode from the reset thumbnails page is a way back.
    This way one can switch between fixed and random images with the same function.

    Each step I make into that soft proves me its totally clever conception - the code documentation is also a masterpiece.
    As a webdesigner popping out off a loads of bloated web apps, coding with zenphoto is a holyday trip.

    Thanks again Mr billard, Mr acrylian, and the others regular contributors.
Sign In or Register to comment.