Jump to content

reptkeu

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

reptkeu's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Guys, here is the result: a "mood-board" generator. I think it looks cool. What do you think? Monkeytooth, if you want me to write credits let me know ;-)
  2. Just one ;ast question: how do you include subfolders?
  3. 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.
  4. I replaced $random1 = RandomFile("random"); while (!$random2 || $random2 == $random1) { $random2 = RandomFile("random"); } with $random1 = RandomFile("http://bertrandclerc.com/autres/random_images/random/"); while (!$random2 || $random2 == $random1) { $random2 = RandomFile("random"); } But it doesn't work. Any idea?
  5. 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.