Nyx: random of only a subset of pics
Posted: Sat Sep 22, 2007 6:13 am
As I'm thinking more about this, I want to make a tease that has an introduction, a bunch of random pics, and an end. So I want to use pic() to show random pics, but I only want to show a subset of the pics, keeping the intro pictures and the ending pictures out of the possible range. Extending this, I can see a desire to have different categories of pics. For example, 10 pics of a red head in random order, then 10 pics of a brunette in random order.
Is it possible to either group pictures into different categories for randomization and have a new different function like randompic(category)
... or allow for wildcards so that pic("blue*.jpg") will choose between blueballs.jpg, blue2.jpg, blue3.jpg, but not endpic.jpg
... or maybe the best way (in my opinion) would be to have unlimited arguments for pic that will randomize between the choices like pic("3.jpg", "4.jpg", "5.jpg", "6.jpg", "7.jpg", "8.jpg", "9.jpg", "10.jpg"). This way, we can include the same pics in mutliple random pools. (e.g. a tease could have a beginner set of nice pics shown at random, and then progress to a wider set that include those same nice pics plus a few mean ones)
... or some other way?
Is it possible to either group pictures into different categories for randomization and have a new different function like randompic(category)
... or allow for wildcards so that pic("blue*.jpg") will choose between blueballs.jpg, blue2.jpg, blue3.jpg, but not endpic.jpg
... or maybe the best way (in my opinion) would be to have unlimited arguments for pic that will randomize between the choices like pic("3.jpg", "4.jpg", "5.jpg", "6.jpg", "7.jpg", "8.jpg", "9.jpg", "10.jpg"). This way, we can include the same pics in mutliple random pools. (e.g. a tease could have a beginner set of nice pics shown at random, and then progress to a wider set that include those same nice pics plus a few mean ones)
... or some other way?