Feel free to use this code for your website, edit it to fit your needs, but please leave the link to my site.
Thank you.
Gallery Example

Instructions:


For this code to work correctly you must have your folders and images set-up as follows:
[root folder]
  gallery.asp
  index.asp
    [images]
        [series]
          series_1.jpg
          series_2.jpg
          series_3.jpg
        [anotherseries]
          anotherseries_1.jpg
          anotherseries_2.jpg
          anotherseries_3.jpg

Replace "series" with the name of your picture series eg. "cars" or "comic" etc. Make sure the images have the same name as the folder they reside in, then an underscore "_" and the number of the image (determines order to be displayed), and the ".jpg" extension.
(as shown above)

Creating the link:
To make a link to your gallery, simply edit this:

<A HREF="gallery.asp?Path=images&Series=seriesname&ImageNumber=1">name of link</A>

Simply edit the green parts. Where "images" enter your images foldes, where "seriesname" enter the name of the series folder you want to access, and the last is just the link name.

Note: this code only works for ".jpg" extension images, because that was all i wanted it for, if you need it to work with a variety of files, feel free to edit the code.

ASP Image Gallery v1.0 | © dobbs 2002 - 2003