The Image Gallery Distribution
Version 2004-03-11

The default method of creating a slide show is to simply copy a single HTML file and edit it to reference the images and thumbnails for your show.  This default template references the code and application components stored on our server - there is no need for you to copy anything else.  Simply right-click on "template.htm" below, and select "Save Target As..." to save a copy on your local machine.

template.htm This is a copy of an empty slideshow template.  This is the file into which the XML data island must be placed.  You can also edit our Sample Show if you prefer not to start from a "blank slate".

In case you do not want to serve your slideshow using any of our server versions, or if you want to view your slideshow while not connected to the Internet, you can make a copy of our application files.

2004-03-11.zip All the files of the run-time application are included here.  When you make your own galleries, just change the line in template.htm from:

<SCRIPT SRC="util.js"></SCRIPT>

to

<SCRIPT SRC="<URL or file location of your util.js file>"></SCRIPT>

and your gallery will use your copy of the run-time application rather than the version hosted on our server.


XML Data Island Documentation

The XML Data island that drives the slide show has the following format.  Note that the values show here are typically the default values of those attributes.  Attributes can be omitted from the XML and the default values will be used.

<XML id=xmlSlideShow>
    <Show
        Width="640"           // Default width and height for all slides in show
        Height="480"
        Margin="10"           // Number of pixels around edge of screen and between
                              // thumbnails
        ThumbSize="40"        // Size (in pixels) of thumbnail images (square)
        Border="2"            // Size (in pixels) of borders around thumbs and main
                              // image
        BorderColor="white"   // Use any IE allowed color value
        UnselectedColor="black" // Color of border around "unselected" thumbnail images
        ErrorColor="red"      // Color of border around thumbnails of images that cannot be loaded
                              // (typically a missing image).
        BackColor="#3C3C3C"   // Background color of page
        TextColor="white"     // Text color
        Font="Verdana"        // Default Font to use on page
        FontSize="14"         // Default font size to use on page
        TitleFont="<Font>"    // Font to use for the Title (default is the same as the "Font" attribute
        TitleFontSize="<FontSize>+4" // Font size to use for the Title (default is the page "FontSize" plus 4)
        SoundTrack="<URL>"    // URL to a standard windows sound format (eg., *.WAV, *.MP3, *.WMV).  The
                              // Windows Media Player must be installed on the user's machine to hear the
                              // background music track.
        Delay="7"             // The number of seconds to dwell on each image when the user clicks the "Play"
                              // button in the slideshow.
        AutoPlay="false"      // Set to true if you want the slideshow Play to occur immediately on loading.
    >
    <Title></TITLE>           // A single line of (HTML) text to display as the show
                              // title
    <Home
        HREF="<URL>"          // Reference to a home page (link from Home button)
    />

followed by 1 or more <Slide>'s as follows:

        <Slide
            Src="<URL>"       // Relative URL of image file.  So that "foo.jpg" will refer to a
                              // file in the same directory as this htm file; "pictures/foo.jpg"
                              // refers to a file in the subdirectory "pictures".
            Width="<Show.Width>" // Width and height of rectangle to display for slide.  If not given,
                                 // the default size given in the <Show WIDTH= HEIGHT=> attributes are used.
            Height="<Show.Height>"
        >
            <Title></Title>   // HTML text to display as the slide title
            <Date></Date>     // Date of image - if omitted, nothing is displayed
            <Desc></Desc>     // Multiple lines of (HTML) text to display
                              // as the slide description.
        </Slide>

    </Show>
</XML>