Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    May 2008
    Location
    Maryland, USA
    Posts
    73
    Plugin Contributions
    0

    Default Re: Background Image Rotation on Refresh

    Thank you, Kobra!
    I initially created a separate "rotation" folder under: includes/templates/classic/images/

    So the path that doesn't work is:

    HTML Code:
    background-image: url (../images/rotation/rotate.php);
    I tried the path you suggested, directly in "images"--no success.

    What am I missing?

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Background Image Rotation on Refresh

    I tried the path you suggested, directly in "images"--no success.

    What am I missing?
    All I have provided is based upon what you posted...
    I have not a clue where the images to be rotated to are called from in their code...
    Do you have additional images to rotate to?
    Where does this script expect them to be?
    Are they there?

  3. #3
    Join Date
    May 2008
    Location
    Maryland, USA
    Posts
    73
    Plugin Contributions
    0

    Default Re: Background Image Rotation on Refresh

    Sorry about being unclear ;-) The answer to your questions is "yes."

    The PHP rotator instructions read: "Upload rotate.php file to your webserver. I recommend uploading it to the same folder as your images."

    Did that. I have rotate.php and 4 images (named 1.png, 2.png, 3.png and 4.png) all located in one folder:
    HTML Code:
    includes/templates/classic/images/rotation
    Then: "Link to the file as you would any normal image file, like this <img src="http://example.com/rotate.php">

    Did that, too. The CSS reads:
    HTML Code:
    body {
    
    background-image: url (../images/rotation/rotate.php);
    
    }
    And it doesn't work. Thanks so much for helping me out with this, Kobra, I really appreciate it!

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Background Image Rotation on Refresh

    How about a link to where you got this...

  5. #5
    Join Date
    May 2008
    Location
    Maryland, USA
    Posts
    73
    Plugin Contributions
    0

    Default Re: Background Image Rotation on Refresh

    Here is the link to the article, code and instructions:

    http://www.alistapart.com/articles/randomizer

    Thank you!

 

 

Similar Threads

  1. v150 How to randomly rotate header background image on refresh?
    By scott_ease in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 2 Jul 2015, 01:07 PM
  2. v151 Dynamic image rotation
    By Kevin205 in forum General Questions
    Replies: 1
    Last Post: 10 Jan 2013, 07:19 PM
  3. Change background on refresh
    By dddmx3 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 24 Feb 2011, 06:21 AM
  4. image rotation recommendation
    By gsdcypher in forum General Questions
    Replies: 2
    Last Post: 11 Apr 2008, 03:06 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg