Welcome to Asp Folder Gallery. This gallery has been drawn together from a variety of public scripts and I have tried to give proper source credit in the code comments. That said, the coding is (most likely) not very elegant and in need of tremendous refinement. Nevertheless, the gallery functions in all major browsers and is pure ASP. No third party components required. (Thumbnail generation requires ASP.Net.)
I will attempt to answer questions and provide support assistance to the extent of my abilities. I am (at best) an amateur coder but should be able to help you configure the script and solve minor problems.
I welcome any and all feedback and script ideas. In fact, I invite those with more experience to enhance the code. I only ask that you provide me a copy of the improvements.
Configuration is relatively straight forward but may require some minor script modifications depending on the final look desired.
Installation Instructions
1. Unzip files into specific folder on your hard drive. The parent zip folder is "aspfoldergallery" but you are welcome to change this name.
2. Open config.txt file and change options. The key option is your parent image folder. The default script uses "images" and your download includes this folder with sample images. You are allowed to use an ouside path as desired (use ../ for each folder level up); however, it is recommended that your parent image folder remain one folder level below the script files. This provides a cleaner look to the horizontal navigation bar.
3. Upload all script files to your host, maintaing the folder structure as downloaded.
4. Open your default browser and enter the address to browse.asp, for instance www.yourdomain.com/aspfoldergallery/browse.asp.
Other configuration options:
The default gallery structure contains three include
files for header, footer and navigation bar. The include files are in
the "layout" folder. Make any changes you like to these includes.
Optionally, you can place the gallery in any page structure you prefer.
However, this will require more indepth code changes. The includes and
links between files are fairly self-evident. Dive in, that's how I
learned!
Most of the default gallery styles (colors and fonts) are defined in the style.css file. Change the style configurations as you wish.
File type permissions can be set in config.txt using allow and deny variables. The gallery is compatible with jpg, bmp, png, and gif image formats. The deny variable is an extra layer of security. Non-image file types are permitted; however, the image browser will display a "no image" placeholder and omit viewing options. Non-images can only be downloaded.
The primary reason thumbnails don't render is unusual characters in the file name, such as single or double quotes, ampersands, etc. This is the first place to check if thumbnails won't render.
Please let me know if any other issues.