4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: Lamont1701 on May 28, 2008, 08:26:59 AM

Title: How Do You Turn OFF, the Random Image Function
Post by: Lamont1701 on May 28, 2008, 08:26:59 AM
Hiya People

I would like to know how do you Turn OFF the Random Image Function?


Thank You, in advance!!!

Title: Re: How Do You Turn OFF, the Random Image Function
Post by: Nicky on May 28, 2008, 08:31:43 AM
morning,

open file
includes/constants.php

set
Code: [Select]
// If you have a lot of images in your database,
// the random image function could make your programm slow.
// Try first to set "SHOW_RANDOM_CAT_IMAGE" to 0.
define('SHOW_RANDOM_IMAGE', 1);
define('SHOW_RANDOM_CAT_IMAGE', 0);

both to 0