Click to See Complete Forum and Search --> : Image Index Page


xBillx
09-09-2003, 09:44 PM
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??

rock
09-10-2003, 11:09 AM
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.

muisejt
09-10-2003, 12:30 PM
http://www.datadosen.se/jalbum/

xBillx
09-11-2003, 05:41 PM
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.??

ua549
09-11-2003, 05:56 PM
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.


<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>

Grizzly
09-11-2003, 06:35 PM
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.

xBillx
09-11-2003, 10:17 PM
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.