randomhighlight choose highlights from a few images only

dr_Fell

Joined: 2009-11-14
Posts: 6
Posted: Tue, 2009-11-24 17:34

Hello.
I have a small gallery (www.piccotic.com). Recently I started using randomhighlight module - but I have a problem. Galleries on the main page do change highlights (now every 1 minute for testing) but it seems that random image is choosen only from some images (4-5 images repeat very often) and other aren't used at all.


Gallery URL = http://piccotic.com/main.php
Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.8 cgi-fcgi
Webserver = Power MOD by linuxpl.com (probably Apache 2.2.9)
Database = mysqli 5.1.29-rc-log, lock.system=flock
Toolkits = ArchiveUpload, Exif, Getid3, ImageMagick, LinkItemToolkit, Thumbnail, Gd, SquareThumb
Acceleration = none, none
Operating system = Linux s26.linuxpl.com 2.6.31.5-grsec #1 SMP Sat Oct 24 11:17:33 CEST 2009 i686
Default theme = tescik
gettext = enabled
Locale = en_GB
Browser = Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091109 Gentoo Firefox/3.5.5

EDIT:

I have conducted a "test" and I am sure, that I am right. I have refreshed gallery 27 times and counted how frequent every image appeared:

Quote:

name | number

various:

flower |5
old dojo |5
poppy meadow |6
poppy |4
the cow – act |4
tires |1
Pogoria 2 |2

animals:

arashi in the pen |7
arashi the werewolf |3
arashi |3
Arashi 2 |2
Psikus 3 |1
arashi in the forest |6
Psikus 2 |1
arashi with sara |2
arashi in the forest 2 |2

ppl:

ania - staircase shot 1 |6
adam |8
ania - staircase shot 2 |5
ania with a retro camera |4
daria |3
daria2 |1

It seems that only about half of the images are used (in that case seems to be number of the images divided by 2 and roundes up, so for people 12/2=6, for various 13/2=6,5 (7) and for animals 17/2=8.5 (9) ). I is possible that some of the used images are used much more often than others. It is possible that the the earlier picture was added, the more frequent it is displayed (I rearranged images after adding them), but I am not sure, because I don't exactly remember initial order.

Any ideas ? Is that a normal behaviour of this plugin ?