I have passwords on every subalbum.
In the main view there is only a icon with questionmark instead of a random image from the subalbum.
I think this is because all subalbums are password protected.
But how can I change this behavior to dispaly always a random image from the subalbums?
Thanks, can you please write down in which file this function is?
If you asked where the function there is a documentation and all functions are named "speaking":
http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functiongetRandomImages
http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functiongetRandomImagesAlbum
http://www.zenphoto.org/documentation/functions/_template-functions.php.html#functionprintRandomImages
Thanks for the info, but I don't wanted that you code it for me.
I want to change it on my installation.
But I needed the file with the function who is checking the password on the random images for albums.
I've found it now in class_album.php, function getAlbumThumbImage and changed it.
My next problem is the "latest images".
The same problem only public images are shown, but I want to show also the private as latest images.
But as of now I didn't find the right php/class file to remove the password check.
Where is the "latest images" function located?
As just a side note (in case anyone references this thread), the StopDesign theme uses it's own function in the index.php so that the random images / recent images works even without image_album_statistics plugin turned on. It's not advised, but if you are writing your own function anyway you could either use image_album_statistics as a base to go by the plugin architecture or just use the StopDesign function for the base of your new function and modify it as a "quick and dirty" fix.
Thanks for the information.
I will have a look at it.