• I went to his site…and its just about as confusing as one can get. I want to do the random image on my site but like what do I do.

    Thanks,
    CK

Viewing 4 replies - 1 through 4 (of 4 total)
  • Where specifically are you having problems?

    Thread Starter cardiackid

    (@cardiackid)

    Understanding where I place the code, do I create a php file for it, etc…adding to my blog…

    OK. You should copy the code that’s on the page into a new PHP file. Place it anywhere you like; it doesn’t need to be in the plugins directory because it’s not a plugin. I suggest placing it wherever you plan on uploading the images that it will rotate through.

    Then, where you want the rotating images to be displayed, call an image tag like Matt demonstrates on his site:

    <img src="/path/to/directory/rotate.php" alt="Random Image" />

    Make sure that the path goes to the directory you have the rotate.php file in. After that, you just need to load an image into the same directory as rotate.php and that should be that.

    Thread Starter cardiackid

    (@cardiackid)

    Thanks!

    CK-out.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Matt’s Random Image Script’ is closed to new replies.