Changeset 1020 (random thumbnails)

I recently discovered that you changed something within `class-album.php` to display a random thumbnail for albums instead the first one of the first subalbum. I am not so happy with that, because I would like to get every time the same one. That's why I sorted my albums to get the thumb I want. It is possible to add an option to enable/disable this feature or even better an option to define the thumnail with its name?

TIA
Steffen

Comments

  • acrylian Administrator, Developer
    Did you select a specific image for album thumb in the admin?
  • It's impossible to select a specific image as a thumbnail for a main album, because all my pictures are located in subalbums some levels below the main album. To make it more clear, please have a look on the structure of my gallery:

    North America -> Usa -> Arizona -> Petrified Forest
    North America -> Usa -> Arizona -> Misc
    North America -> Usa -> Arizona -> White Pocket

    ...

    The albums "North America", "Usa" and "Arizona" does not contain any single picture, just the subalbums. All those pictures are located in the subalbums Petrified Forest, Misc, White Pocket and so on. In the options dialog within the admin section, I do not have the possibility to select a thumbnail for "North America", "Usa" and "Arizona". Before changeset 1020 was released, the first picture of the first subalbum was automatically taken for that. Now I get random pictures as thumbs for the album "North America", "Usa" and "Arizona", which I do not want.

    Just in case you don't understand, please go on my gallery: http://www.synnatschke.com/gallery and press the refresh button in your browser. You will get then random thumbs for all main albums, like "North America"...
  • acrylian Administrator, Developer
    Oh, sorry, I didn't read carefully enough... I am sadly not familar with these functions, Since sbillard did the change, we have to wait for him.
  • The thumb for the album has always been arbitrarily selected (and changeable) if you have not specificaly set it. Now it just changes more often.

    You can set a specific image thumbnail for album with only subalbums by one of two methods:

    1. Add the image you want for the thumbnail into the album and mark it not visible.

    2. Manually place the image name (including the album path) in the thumb field of the album's database entry. This is the method I used in my album www.albums.sbillard.org since when I did it, the first option did not exist.
  • The first option sounds good, thank you for the advice.
  • The only downside to #1 is that the image shows up when you are logged on.
  • It doesn't matter.

    But maybe as a future enhancement, you could think about to accept any picture from a subalbum as a thumb for higher level albums.
  • It is already on the list http://www.zenphoto.org/trac/ticket/122

    All that is missing is the UI. If you get the thumbnail name into the album's thumb field it will display (#2 above).
Sign In or Register to comment.