What can we do to make it easier to design with Wild Apricot?

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

0 votes
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)

    We’ll send you updates on this idea

    peter.j.winkler@gmail.competer.j.winkler@gmail.com shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base

      Wild Apricot Inc. 144 Front Street West Suite 725, Toronto, Ontario, Canada M5J 2L7