Random Background images via PHP
Hello,
I'm using the Bookshelf Theme, but have applied a fixed background image via the CSS
body {
background-image: url(/resources/Theme/6.jpg);
background-repeat: no-repeat;
background-attachment: fixed;
}
My goal now is to have a different background every time the page loads. Does anybody know how this can be done with WildApricot?
I tried to use the following PHP image rotator solution, but couldn't get it to work:
http://sonspring.com/journal/easy-random-css-backgrounds
http://alistapart.com/article/randomizer
Whenever I upload the .php file, it gives me the error that the file is not supported. I tried to upload it as as .txt file and change it to .php, but that didn't work either.
So my questions are two-fold:
1) Any idea how I can get that PHP image rotator to work?
2) If that's not supported, any other ideas how I can make the images rotate with each page load?
Thank you!
Peter