flop25 wroteso the album is private, and the plugin displays the representative thumbnail : it's the own chosen by piwigo or a specific picture ?
I am just using the same logic as Piwigo for representative thumbnail.
One of the problem if the representative thumbnail is not set, maybe the random photo is inappropriate for public (a reason I want to protect the album is contain nude photo). But I will set the a representative thumbnail to private album if I want to list it to public.