I'm looking for a way to have a view that displays randomly chosen images from a set of image nodes. Looks like there was random_image in 5.x, but I don't see the equivalent behavior for 6.x. Does anyone know a way to do this? Thanks.

Comments

baronmunchowsen’s picture

Within Views you can specify a sort-order of random, so using a combination of this and other parameters in views (view type, nodes to show etc. etc.) you should be able to achieve what you're looking for.

mikel1’s picture

Cool! I had missed that one. This is great stuff!

andyau’s picture

Hi Mike

Do you have your random images up and running?
I have tried a few times to this just keep going around in a circle.

mikel1’s picture

Yes I do, at http://www.starastronomy.org - with the information above it was straightforward to get it working perfectly. If you're still having problems, perhaps I can help? What's the matter?

Denys Babenko’s picture

Can't find sort-order of random :( Could you help, please?
Here is my view configuration

[Basic settings]
Style: Unformatted
Row Style: Fields
[Fields]
Content: Photo Thumbnail image linked to node
[Filters]
Node: Published Yes
Node: Type in ...
[Sort criteria]
Node: Post date desc

PROBLEM: There is no option sort random in [Sort criteria]. Only asc and desc.

WorldFallz’s picture

Yes there is-- it in the sort options and its called "global: random".

Denys Babenko’s picture

Troubleshoot found:
1) hit add sort criteria
2) from "Groups" drop-down menu select "Global"
3) check the box

Thanks!

duduleob’s picture

Finally someone showed how to really sort it randomly... it's not very obvious...
Thanks!!!