PHP image gallery include not working with folders

Discussion in 'Web Design and Development' started by Jasonbot, Aug 26, 2008.

  1. Jasonbot macrumors 68020

    Jasonbot

    Joined:
    Aug 15, 2006
    Location:
    The Rainbow Nation RSA
    #1
  2. Fleetwood Mac macrumors 65816

    Fleetwood Mac

    Joined:
    Apr 27, 2006
    Location:
    Canada
    #2
    I can't say for sure (because I haven't looked at the source very much), but the paths to the image/js files are probably incorrect.

    /gallery.php is on higher level directly than /gallery/test.php, so you're code will need to reflect that.

    Also, the script you're using may require you to include jscripts within the <head> and </head> tags, I don't know if you've done that correctly.
     
  3. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #3
    Yeah a few issues here. Not sure what you're using to create the code, but you have a second DOCTYPE and head section at the bottom of the page, which is causing a big fuss. Also there's this error message that stop the page from further loading:

    "Path is not a directory: ../images/That day"

    Hopefully that tells you what you need to fix this.
     

Share This Page