Hi there,
I'm not sure if the issue is in Effervescence or in Zenphoto. I've got only authhenticated albums in my ZP installation and the general thumbnail of an album (the heading one) doesn't work at all (authenticated or not), except if i'm logged as adminitrator of the gallery (got the zen-logo.jpg file instead)
I take a look on the customfunction.php file :
if (is_null($randomImage) || checkforPassword(true)) {
echo '<img src="'.$_zp_themeroot.'/images/zen-logo.jpg" alt="'.gettext('There were no images from which to select the random heading.').'" />';
} else {
Ok, so, if the randomImage call fails, or if the checkforPassword fails, i got this.
I try without the checkforPassword check, i got the same. So i guess the randomImage function won't work with authenticated albums, even if user is authenticated.
Anyone seen this before ?
Regards,
Comments
The above code just prevents an image from showing if the user is not logged in to the album.