Hello;
If I use the Menu: Discover -> Random Photos, it displays 15 photos. I would like to increase the number, say 30 or higher. I've looked in the source code but couldn't figure out where it's getting the 15 from.
How can I increase the number of random photos?
Thank you
- John
Piwigo version: 2.10.2
Offline
That number 15 is not a magic number ! It's the minimum between 50, value for configuration key to_number and user configuration nb_image_page.
So to increase that number, you as a user change your profile and change "Number of photos per page" but it also change number of photos displayed on other pages. You can change in your local configuration top_number key but it also change that number for other pages too.
There's no configuration key to only change that number for random page only.
Offline
Nicolas;
Thanks you, I found top_number set to 15 in the config_default.inc.php, increased to 30 and Random Photos now shows 30.
- John
Offline