40 users online (0 members and 40 guests)  


  Results 1 to 2 of 2

Related

  1. Random pictures in each table data cell    Forum: HTML Forum
    Replies: 0
  2. Random pictures HTML    Forum: Javascript Forum
    Replies: 16
  3. .htaccess doesn't work    Forum: HTML Forum
    Replies: 1
  4. Random pictures HTML    Forum: HTML Forum
    Replies: 1
  5. js script that doesn't work ???    Forum: Javascript Forum
    Replies: 1
  1. #1
    germanosz's Avatar
    New User

    Status
    Offline
    Join Date
    Apr 2009
    Posts
    1

    Random Pictures script doesn't always work.

    http://zouein.net/new/
    As you can see, the script at the bottom of the page doesn't always work.
    Sometimes it shows 3 random pictures (like it's supposed to) and sometimes it fails to display only 1 pictures & displays all the pictures in the Random List instead...

    Does anyone know what am i doing wrong, and how to fix it ?
    I checked the code many times, it's fine.

    Thank you very much.
    Last edited by germanosz; 04-19-2009 at 06:42 AM.

  2. #2
    jthayne's Avatar

    Status
    Offline
    Join Date
    Aug 2008
    Location
    Texas
    Posts
    508

    Re: Random Pictures script doesn't always work.

    The problem is that coppermine doesn't know where to look for the images. The path it is looking at is: "C../albums/Gerard/thumb_Photo_003.jpg" which does not exist. Figure out how to get rid of the C, and it might start working. Any questions, follow this thread.



Tags for this Thread