Simple popup photo album application in ASP
Bill Reid, 2001

This example uses the FileSystem object in conjunction with your directory of pictures/thumbnails to produce a neat little reusable application for displaying photos.  You can create any number of photo galleries by simply dropping your pictures into a compatible directory structure and launching this script with the appropriate querystring.

Warranty:
As is.  No guarantees, no support, no nothing.  It's just code that you can use if you deem appropriate.  Don't play with things if you don't know what you're doing.

Requires:
Obviously, a web host that supports ASP.  It also must support the use of the FileSystem object - many of the freebie sites won't allow this for security reasons.

Method:
Place all the files from this archive in a directory together.  In this directory, create any number of directories for your photo galleries and place the pictures to display in them.  Create a subdirectory named "tn" in each of these directories to place your thumbnails in.  If you unpack this with folder creation options turned on, a "testalbum" sample structure will be created for you. Use the same filename for each - i.e., the thumbnail filename and the full size picture filename should be the same - just located in different directories.

To display a directory, use the URL as follows:

	album.asp?album=*directory_name*

where *directory_name* is the name of the directory of the gallery you wish to display. In this manner, you can set the app up once and simply add new pictures or directories with new pictures to expand your collection.

Modifying:
This app's layout is basically geared toward thumbnails that are 75 pixels wide - you can easily modify the frame width parts of the ASP code to customize this to your liking.  Do so at will.

This app is a really nice companion to thumbnail generating programs.  By using this, you can keep from having it create tons of simple little HTML pages to be used as picture holders.  It could also easily be modified to simply resize pictures into thumbnails, but I didn't do this because of the file size problems.

If you like the app, I wouldn't mind an Email or credits somewhere.  But it's by no means required.
