I’m having problems with the code here. Currently I’m using this code on my front page:
[ngg_images tag_ids=’front’ order_by=’rand()’ display_type=’photocrati-nextgen_basic_singlepic’]
It’s supposed to pick a random image with the tag “front” on it and display it as the main image on the front page. The problem is that it’s not very random. Every time I reload the page it displays the same image. Even in separate browsers it still displays the same image.
What am I doing wrong here? It’s driving me a little crazy.
my site: http://www.brianbermanphoto.com
also, I’ve tried using random_max’1′ in place of the order_by short code and that also doesn’t work.
- The topic ‘random image not working’ is closed to new replies.