-
- 74 Posts
Hi,
I’ve been reading over the documentation for a way to grab a random image from a Album, does anyone have a suggestion? Maybe I missed something.
Thanks!
-
- 6 Posts
I have the same question... Anyone..?
sort and dir are both documented and I don’t know how they relate to the albumCoverSort. I would experiment all of these options it may be that there is some clarification to be made in the docs.
Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup
magician.
Blog ✦
Twitter ✦
LinkedIn ✦
GitHub
albumCoverSort was the only documented way to randomize the choice of an image. It uses "random" instead of "rand". So I didnt even hit it by trying.
-
- 5,888 Posts
for this kind of galleries, with only view images for each resource, there is the MIGX-TV as an alternative way.
There is a randomize-property for the included getImageList-snippet.
-.-
maybe I need to use this snippet of yours as my "header image gallery" destroys my content galleries.
And: the header images are beeing taken from the current content gallery, not from "5" as I defined.