Gallery Sample ASP Code


<html>
<!-- 
    Sample created by Nadja Vol Ochs. 1997 

    To call the viewpics.asp fill each url of the thumbnail with the appropriate variables.
    TITLE - used for the title of the IMG and the main HTML title.
    IMG   - the location of the larger image.
    HEIGHT- height of the image
    WIDTH - width of the image
    INFO  - information displayed about the image

    Example:

    <A HREF="viewpics.asp?TITLE=Heather+in+a+window&IMG=/workshop/server/asp/hands.jpg&HEIGHT=200&WIDTH=141&INFO=Black+and+white+photograph+of+my+friend+Heather+in+Paul's+window.">
    <IMG SRC="Images/hands.jpg" WIDTH=71 HEIGHT=100 BORDER=0 ALT="Heather in a Window">
    </a>

-->
<head>
<title>Black and White Photography</title>
</head>
<body bgcolor="#FFFFCC" topmargin=0 leftmargin=0>


<CENTER>

<TABLE BORDER=0 CELLPADDING=6 CELLSPACING=6>
<TR>
<TD COLSPAN=5 ALIGN=CENTER>
    <FONT FACE="Verdana, Helvetica, Comic Sans MS, Times New Roman"><CENTER>
    <I><h1>Black and White Photography</H1></I></CENTER></FONT>
    <BR>
    <FONT FACE="arial, helvetica" SIZE=4>
    Click on Small Pictures to See Large Versions.</FONT>
</TD>
</TR>
<TR>
<TD ALIGN=CENTER>
<TABLE BORDER=2 BORDERCOLOR="#000000" CELLPADDING=6 CELLSPACING=6>
<TR>
<TD VALIGN=TOP ALIGN=CENTER BGCOLOR=#FFFFFF>
    <A HREF="viewpics.asp?TITLE=Heather+in+a+window&IMG=/workshop/server/asp/hands.jpg&HEIGHT=200&WIDTH=141&INFO=Black+and+white+photograph+of+my+friend+Heather+in+Paul's+window.">
    <IMG SRC="/workshop/server/asp/hands.jpg" WIDTH=71 HEIGHT=100 BORDER=0 ALT="Heather in a Window">
    </a>
</TD>

<TD VALIGN=TOP ALIGN=CENTER BGCOLOR=#FFFFFF>
    <A HREF="viewpics.asp?TITLE=Shell+Shadow&IMG=/workshop/server/asp/shell.jpg&HEIGHT=216&WIDTH=200&INFO=Black+and+white+photograph+of+me+holding+a+shell+between+my+legs.+I+took+this+with+a+tripod.">
    <IMG SRC="/workshop/server/asp/shell.jpg" WIDTH=100 BORDER=0 HEIGHT=108 ALT="Shell Shadow">
    </A>
</TD>

<TD VALIGN=TOP ALIGN=CENTER BGCOLOR=#FFFFFF>
    <A HREF="viewpics.asp?TITLE=Alocasia+Leaves&IMG=/workshop/server/asp/images/leaf.jpg&HEIGHT=132&WIDTH=200&INFO=Black+and+white+photograph+of+my+favorite+house+plant.">
    <IMG SRC="/workshop/server/asp/leaf.jpg" WIDTH=100 BORDER=0 HEIGHT=66 ALT="Alocasia Leaves">
    </A>
</TD>
</TR>

<TR BGCOLOR=#FFFFFF>
<TD VALIGN=TOP ALIGN=CENTER BGCOLOR=#FFFFFF>
    <A HREF="viewpics.asp?TITLE=California+Coast&IMG=/workshop/server/asp/oceanl.jpg&HEIGHT=163&WIDTH=240&INFO=Black+and+white+photograph+taken+on+the+coast+of+California.">
    <IMG SRC="/workshop/server/asp/oceanl.jpg" WIDTH=120 HEIGHT=82 BORDER=0 ALT="California Coast">
    </A>
</TD>

<TD VALIGN=TOP ALIGN=CENTER BGCOLOR=#FFFFFF>
    <A HREF="viewpics.asp?TITLE=Greek+Orthodox&IMG=/workshop/server/asp/church.jpg&HEIGHT=200&WIDTH=296&INFO=Black+and+white+photograph+of+a+Greek+Orthodox+church+in+Bellingham,+Washington.">
    <IMG SRC="/workshop/server/asp/church.jpg" WIDTH=148 BORDER=0 HEIGHT=100 ALT="Greek Orthodox">
    </A>
</TD>

<TD VALIGN=TOP ALIGN=CENTER BGCOLOR=#FFFFFF>
    <A HREF="viewpics.asp?TITLE=Shadow+Stairs&IMG=/workshop/server/asp/stairs.jpg&HEIGHT=165&WIDTH=240&INFO=Black+and+white+photograph+of+a+staircase+in+Bellingham,+Washington.">
    <IMG SRC="/workshop/server/asp/stairs.jpg" WIDTH=120 BORDER=0 HEIGHT=84 ALT="Shadow Stairs">
    </A>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>

</CENTER>

</body>
</html>