Image Index Page

Sharky Forums


Results 1 to 7 of 7

Thread: Image Index Page

  1. #1
    Catfish xBillx's Avatar
    Join Date
    Dec 2001
    Location
    MD
    Posts
    240

    Image Index Page

    I have a few folders full of jpg's on my web server, and would like to make an html file for each folder that will automatically show an index of thumbnails of all the pictures, along with links to each picture in medium and large sizes. The idea is that I will not have to edit the html file every time I add a new picture to a folder.

    Suggestions??
    Lian Li PC-60USB | Epox 8k5a3+ | Athlon XP 1700+ (TbredB) @ 11 x 185 (2.03GHz, 1.65Vcore)| 256 MB Corsair PC3200 | SLK 900a w/ 50cfm YStech | Radeon 8500 64MB |3x Maxtor 40 GB HDDs (2 in Raid 0) | 1x Maxtor 80 GB HDD | LiteOn 16x DVD | LiteOn 40x CDRW | Leadtek Winfast TV 2000 deluxe | 400W Sparkle PSU | Logitech Cordless Freedom Optical | Dell fp1900 19" LCD

    Dell Axim 400MHz | 64MB RAM | 48MB Flash ROM

    Dell Latitude D800 | Pentium M 1.6GHz | 512MB DDR RAM | 40GB 5400RPM HDD | GeForce 4 4200 Go 64MB | 4x DVD+RW | Dell Trumobile 1300 802.11b/g WLAN | 15.4 WUXGA (1920 x 1200) LCD

  2. #2
    NullPointerException rock's Avatar
    Join Date
    Sep 2000
    Location
    York, PA
    Posts
    6,203
    ACDSee has a tool to do this with very little pain. I've used it several times for great effect in just a couple minutes.

    Open Source is free like a puppy is free.

    It's only when you look at an ant through a magnifying glass on a sunny day that you realise how often they burst into flames.

    Understanding Evolution

  3. #3
    Super Bunny Mod muisejt's Avatar
    Join Date
    Dec 2000
    Location
    Nova Scotia, Canada
    Posts
    9,833
    If your sig is longer than your post then type more.

  4. #4
    Catfish xBillx's Avatar
    Join Date
    Dec 2001
    Location
    MD
    Posts
    240
    Originally posted by muisejt
    http://www.datadosen.se/jalbum/
    Thanks muisejt.

    Just out of curiosity though, anybody have good ways to automate it like I mentioned, using javascript, xml, etc.??
    Lian Li PC-60USB | Epox 8k5a3+ | Athlon XP 1700+ (TbredB) @ 11 x 185 (2.03GHz, 1.65Vcore)| 256 MB Corsair PC3200 | SLK 900a w/ 50cfm YStech | Radeon 8500 64MB |3x Maxtor 40 GB HDDs (2 in Raid 0) | 1x Maxtor 80 GB HDD | LiteOn 16x DVD | LiteOn 40x CDRW | Leadtek Winfast TV 2000 deluxe | 400W Sparkle PSU | Logitech Cordless Freedom Optical | Dell fp1900 19" LCD

    Dell Axim 400MHz | 64MB RAM | 48MB Flash ROM

    Dell Latitude D800 | Pentium M 1.6GHz | 512MB DDR RAM | 40GB 5400RPM HDD | GeForce 4 4200 Go 64MB | 4x DVD+RW | Dell Trumobile 1300 802.11b/g WLAN | 15.4 WUXGA (1920 x 1200) LCD

  5. #5
    Great White Shark
    Join Date
    Nov 2000
    Posts
    21,595
    This script works for me. It uses the thumbnails generated by Windows. When you click on a thumbnail, you see the pic.

    This script should run by itself. Just paste it into notpad and save it as an htm file.

    Code:
    <head>
    <title>Folder contents</title>
    </head>
    <body bgcolor="white">
    	  <table cellspacing="0" cellpadding="0" border="5">
    <tr>
        <td><script language="javascript">
    if (navigator.appName=="Netscape" && navigator.appVersion.split(".")[0]==4)
    {
    document.write("");
    }
    else
    {
    document.write("<p align='left'><iframe src='file:///G:/Pics' height=850 width=1300 marginwidth=0 marginheight=0 scrolling=no frameborder=0 vspace=2></iframe></p>");
    }
    </script></td>
    </body></html>

  6. #6
    Ursus Arctos Moderatis Grizzly's Avatar
    Join Date
    Sep 2000
    Location
    Providence, RI USA
    Posts
    3,077
    Yeah but ua549, that JS will only "work" so to speak in your local environment. I believe xBillx was hoping to publish his pics to the web so everyone could see them.

  7. #7
    Catfish xBillx's Avatar
    Join Date
    Dec 2001
    Location
    MD
    Posts
    240
    Originally posted by Grizzly
    Yeah but ua549, that JS will only "work" so to speak in your local environment. I believe xBillx was hoping to publish his pics to the web so everyone could see them.
    Yes, i have an apache server on the machine.
    Lian Li PC-60USB | Epox 8k5a3+ | Athlon XP 1700+ (TbredB) @ 11 x 185 (2.03GHz, 1.65Vcore)| 256 MB Corsair PC3200 | SLK 900a w/ 50cfm YStech | Radeon 8500 64MB |3x Maxtor 40 GB HDDs (2 in Raid 0) | 1x Maxtor 80 GB HDD | LiteOn 16x DVD | LiteOn 40x CDRW | Leadtek Winfast TV 2000 deluxe | 400W Sparkle PSU | Logitech Cordless Freedom Optical | Dell fp1900 19" LCD

    Dell Axim 400MHz | 64MB RAM | 48MB Flash ROM

    Dell Latitude D800 | Pentium M 1.6GHz | 512MB DDR RAM | 40GB 5400RPM HDD | GeForce 4 4200 Go 64MB | 4x DVD+RW | Dell Trumobile 1300 802.11b/g WLAN | 15.4 WUXGA (1920 x 1200) LCD

Posting Permissions

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