I have a folder full of 2000 images, all unique and named like this:
/images/0001.jpg (... 2000.jpg)
I need to be able to access 100 random, unique images. Something like this:
/sets/0001/001.jpg (... 100.jpg)
I need hundreds of "sets of unique images" like this.
I made one example set using a folder and a htaccess file with 100 lines like this:
Redirect 303 /sets/1234/001.jpg /images/0432.jpg
Redirect 303 /sets/1234/002.jpg /images/0391.jpg
...
How would this be done the easiest way without actually creating hundreds of folders and corresponding htaccess files?
Thanks a lot!