Jump to content

reptkeu

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Posts posted by reptkeu

  1. This should do exactly as you seek..

    I was sitting bored one night and I had a spare domain that was sitting doing nothing.. So I decided to put a random image gen on it. Nothing special about this script.

     

    http://www.uglygoods.com if you want to see it working, just refresh the page. a couple times..

     

    Hi Monkeytooth. It works great!

    I couldn't even get the one I mentionned at first to work. And I think even if I did, it would have been a nightmare (I want to display dozens of pictures and with this first code I would have had to copy/paste/modify the three lines everytime I want an iamge to display.

    With yours, it's much easier and quicker (just copy/paste......)

    Thanks a lot for your help.

  2. Hello,

    I wanted to have a page on my website that displays lots of images randomly from a folder.

    I found  this article and this this code which exactly does what I am looking for.

    Problem is: the image folder has to be called "random" and has to be located at in the ROOT directory. (Oh, and one more problem: I am a total newbie in coding, just some html basic knowledge.)

    I keep trying to modify the script to point toward the right location but it just won't work.

    Can you guys help?

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.