since I could not find the answer anywhere maybe someone else is troubled by this too. I would like to use random images from a folder in backstretch without specifing the images before. I am not good at php, so could someone tell me how to do this, I believe it would be sth. similar to this solution, which is for supersized (How to use the Supersized! plugin with image folders)
Furthermore I'd need the slideshow to start with a different image when the page is reloaded/revisited.
Thanks a lot for helping me!!
I've put together a simple php script. It gets all .jpg's from $image_dir and returns them in a random order.
The first image is saved as a session variable, and after a refresh a new image gets picked and added to the start of the array.
The code is pretty basic, if you have subfolders you'd have to customize it:
PHP:
JS: