coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: Thoifl on January 12, 2004, 11:44:29 PM

Title: Random doesn't work --> Pictures are not shuffled!
Post by: Thoifl on January 12, 2004, 11:44:29 PM
Hi,

I have a problem with the random-pics.
Please take a look at:
http://www.trottelige-gesellschaft.net/php/bilder/index.php
The random-pictures are at the bottom. Hit the reload button a few time and you will see.
Especially the first 2 Pictures switch hardly, it seem the random-function is broken.
Any ideas?
Tanks for help
Title: Random doesn't work --> Pictures are not shuffled!
Post by: Joachim Müller on January 13, 2004, 05:43:45 AM
get some more pics in your database and have only 1 row of random pics, this will help. You have to understand that there's no such thing like a computer-generated random number...

GauGau
Title: Random doesn't work --> Pictures are not shuffled!
Post by: Thoifl on January 13, 2004, 07:17:16 AM
Ok, there are now 47 pics and just one row, but still, the last uploaded pictures are prefered. What's going on??
Title: Random doesn't work --> Pictures are not shuffled!
Post by: Joachim Müller on January 13, 2004, 08:25:23 AM
I've noticed this behaviour on other small sites already, it will go away if you have more pics in more albums, promise!
Like I said: there's no such thing like a computer generated random number... :wink:

GauGau