Results 1 to 5 of 5

Thread: No pictures can be seen on Photo

  1. #1
    Join Date
    Jun 2008
    Location
    Georgia
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question No pictures can be seen on Photo

    1) Script Title: PHP Photo Album

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...photoalbum.htm



    3) Describe problem: I am having a problem getting the pictures in the folder to be shown on the web page. I even put it in a blank html page to se if it would work. Here is the page:

    http://www.longsconstruction.net/kitchen_album.html

    Any help would be greatly appreciated.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Where you have:

    Code:
    <script type="text/javascript">
    
    /***********************************************
    * PHP Photo Album script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * Visit http://www.dynamicDrive.com for hundreds of DHTML scripts
    * This notice must stay intact for legal use
    ***********************************************/
    
    var dimension="4X8" //Specify dimension of gallery (number of images shown), such as 4x2, 3x1 etc
    var imagepath="http://www.longsconstruction.net/images/Pictures/Kitchens/Thumbnails/" //Absolute path to image directory. Include trailing slash (/)
    var href_target="new" //Enter tar . . .
    The script is expecting:

    "4x8"

    with a lower case x. This is breaking the script. Use a lower case x and see what happens, there could also be other problems. However, everything else looks basically OK.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jun 2008
    Location
    Georgia
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you so much John. That fixed it! I incorporated it into the site, but now I am having problems showing the thumbnails.

    http://www.longsconstruction.net/kitchens.html

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by flipmoore View Post
    now I am having problems showing the thumbnails.
    That's because, the getpics.php is scanning the larger images folder, where you have, for example:

    DSCF0215.JPG

    However, its counterpart in the thumbnail folder is named:

    DSCF0215.jpg

    with the lower case .jpg file extension, they are both valid image files, but to work with this script, the filenames and extensions must be exactly the same.

    Rename one or the other of the files so that they match exactly.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    Jun 2008
    Location
    Georgia
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Great catch John. I did not realize it was that sensitive. Thanks again.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •