Grogono Family Website
 
 
 

Test Details

Most Useful Pages

These pages are really here for me - to help when I'm assembling web sites. However, if you got this far and you're interested, feel free to contact me.

The most useful pages are the ones which display photos which can be enlarged. The scripts below have all been tested and work PROVIDED that the subroutines have all been installed and the photos are installed as jpegs in folders in a main directory. Each photo requires two versions, one large and one thumbnail, e.g., mydog.jpg and mydogt.jpg.

 
Index: Tour Display   No-Tour Display   Small File Rand   Small File Fixed   Small All Rand   Small All Fixed 

Photo Display Touring

Displays a page of photos. Pictures are stored in a file ($PhotoDirectory) containing a text list ($PhotoList). Click to enlarge any photo - offers option to tour large photos or return.

<BODY>

<?php
    $PhotoDirectory = "photofiles/drew";
    $PhotoList = "photolist.txt";
    include ("format/photodisplaytouring.incl");
?>

</BODY>


 
Index: Tour Display   No-Tour Display   Small File Rand   Small File Fixed   Small All Rand   Small All Fixed 

Photo Display Non-Touring

Displays a page of photos. Pictures are stored in a file ($PhotoDirectory) containing a text list ($PhotoList). Click to enlarge any photo, click to return.

<BODY>

<?php
    $PhotoDirectory = "photofiles/drew";
    $PhotoList = "photolist.txt";
    include ("format/photodisplaynontouring.incl");
?>

</BODY>


 
Index: Tour Display   No-Tour Display   Small File Rand   Small File Fixed   Small All Rand   Small All Fixed 

Small File Random

Randomly selected pictures are scattered on a page. Click enlarges - click returns. Pictures are stored in a file ($PhotoDirectory) containing a text list ($PhotoList). The number of photos needed is determined by $Required. The code required is shown below. This code can be copied, pasted, and modified to suit the needs of the filenames etc:        


<HEAD>
<?php
    $PhotoDirectory = "photofiles/family";
    $PhotoList = "photolist.txt";
    $Required=4;
    include ("format/smallrandomfileprep.incl");
?>
</HEAD>

<BODY>

<?php
    print ("<TABLE SUMMARY='Photo' ALIGN='Left' CELLSPACING='0'>" .
        $PhotoList[1] . "</TABLE>");
?>

INSERT YOUR TEXT HERE
<BR CLEAR="All">

<?php
    print ("<TABLE SUMMARY='Photo' ALIGN='Right' CELLSPACING='0'>" .
        $PhotoList[2] . "</TABLE>");
?>

INSERT YOUR TEXT HERE
<BR CLEAR="All">

</BODY>


 
Index: Tour Display   No-Tour Display   Small File Rand   Small File Fixed   Small All Rand   Small All Fixed 

Small File Fixed

Pictures are scattered on a page. Click enlarges - click returns. The page shows pictures selected from a file ($PhotoDirectory) containing a text list ($PhotoList). The number of photos needed is determined by $Required. The code required is shown below. This code can be copied, pasted, and modified to suit the needs of the filenames etc:        


<HEAD>
<?php
    $PhotoDirectory = "photofiles/family";
    $PhotoList = "photolist.txt";
    $Required=4;
    include ("format/smallselectedfileprep.incl");
?>
</HEAD>

<BODY>

<?php
    print ("<TABLE SUMMARY='Photo' ALIGN='Left' CELLSPACING='0'>" .
        $PhotoList[1] . "</TABLE>");
?>

INSERT YOUR TEXT HERE
<BR CLEAR="All">

<?php
    print ("<TABLE SUMMARY='Photo' ALIGN='Right' CELLSPACING='0'>" .
        $PhotoList[2] . "</TABLE>");
?>

INSERT YOUR TEXT HERE
<BR CLEAR="All">

</BODY>


 
Index: Tour Display   No-Tour Display   Small File Rand   Small File Fixed   Small All Rand   Small All Fixed 

Small All Random

Pictures are scattered on a page. Click enlarges - click returns. Pictures are randomly selected from the main photodirectory ($PicDir) containing the photo files, each of which contains a text list ("photolist.txt"). The number of photos needed is determined by $Required. The code required is shown below. This code can be copied, pasted, and modified to suit the needs of the filenames etc:        


<HEAD>
<?php
    $PicDir = "photofiles/";
    $Required=4;
    include ("format/smallrandomallprep.incl");
?>
</HEAD>

<BODY>

<?php
    print ("<TABLE SUMMARY='Photo' ALIGN='Left' CELLSPACING='0'>" .
        $PhotoList[1] . "</TABLE>");
?>

INSERT YOUR TEXT HERE
<BR CLEAR="All">

<?php
    print ("<TABLE SUMMARY='Photo' ALIGN='Right' CELLSPACING='0'>" .
        $PhotoList[2] . "</TABLE>");
?>

INSERT YOUR TEXT HERE
<BR CLEAR="All">

</BODY>


 
Index: Tour Display   No-Tour Display   Small File Rand   Small File Fixed   Small All Rand   Small All Fixed 

Small All Fixed

Pictures are scattered on a page. Click enlarges - click returns. The page shows pictures selected from the main photodirectory ($PicDir) containing the photo files, each of which contains a text list ("photolist.txt"). The number of photos needed is determined by $Required. The code required is shown below. This code can be copied, pasted, and modified to suit the needs of the filenames etc:        


<HEAD>
<?php
    $PicDir = "photofiles/";
    $Required=4;
    include ("format/smallselectallprep.incl");
?>
</HEAD>

<BODY>

<?php
    print ("<TABLE SUMMARY='Photo' ALIGN='Left' CELLSPACING='0'>" .
        $PhotoList[1] . "</TABLE>");
?>

INSERT YOUR TEXT HERE
<BR CLEAR="All">

<?php
    print ("<TABLE SUMMARY='Photo' ALIGN='Right' CELLSPACING='0'>" .
        $PhotoList[2] . "</TABLE>");
?>

INSERT YOUR TEXT HERE
<BR CLEAR="All">

</BODY>


 
 
 
 



Copyright © 2006 Small Title Updated
July 9th 2006