Viewer 1.0 by Patrik Lundin, plundin@kagi.com

This is a shareware slide-show applet, it will show the pictures you specify with a delay
in between. The applet supports gif and jpg pictures and it will automatically resize
the viewing window to fit the picture it is loading.

You can sort the pictures into categorys and add comments to each picture,
the applet will show all the categorys in a selectlist and will show the comment
with the picture when it is showed.

Note that the applet does not support gif animations.

Download demo
Try demo now
Purchase

You can try the demo version for a period of ten days after which you must purchase
the full version if you want to keep using it, the demo version is limited to showing a maximum
of five pictures.
 

Applet setup
Applet controls
Trouble shooting
 

Applet Setup

The configuration of the applet is very easy, just follow these steps:

1. Copy the all the class files into your webpage directory,
    This is very important, all the class files must be in the directory,
    there are four class files: Viewer.class, ViewFrame.class, Control.class
    and Timer.class

    If you use ftp to upload the class files make sure the classfiles is uploaded
    as binary and not as ascii

2. Copy the applet tag below to your webpage:

   <applet code=Viewer.class width=100 height=80>
    <param name="refresh" value="10">
    <param name="indexfile" value="indexfile.html">
    </applet>

3. Configure the parameters in the applet tag. The "refresh" parameter
    is the delay between the pictures in seconds and the "indexfile"
    parameter is the file containing infomation about the pictures.
    If you leave the parameter tags out the default refresh will be 10 seconds
    and the indexfile will be assumed to be the same page as the applet is on.

    There is also two parameters controlling the color of the applet, the parameters
    are bg ( background color ) and fg ( text color ), the values for these is given as
    hexadecimal values ( just like for webpages ) like this:
     <param name="bg" value="660000"> which will make the background dark red.

4. Add the information about the pictures to the indexfile, the information is
    given like this:

    <!--
    image{
    pic_url;
    category;
    comment;
    }
    -->

    The pic_url is the url to the picture, it can be either relative to the page or a full url ( note that a java
   applet can only read files on the same server as the applet is on ).
   The category is for placing the picture within a category, all categorys will appear in a selectlist
   on the applet, leave a lone ";" if you don't want to specify a category.
   The comment can be any comment you want to use to describe the picture, use <br> to make a
   linefeed somewhere in the text. If you do not want to have a text describing the picture leave the ";"
   alone on that line.

   Example :

    <!--

    image{
    summer.jpg;
    Summer Pics;
    Nice picture from last summer<br>This was the beach.;
    }

    image{
    winter.jpg;
    Winter Pics;
    When we went skiing<br> it was really fun;
    }

   image{
    car.jpg;
    ;
    ;
   }

    -->

   The syntax must be as described above including the semi colon ";" at the end
   of  each line and the sorrunding { and } for each picture, also note that any linefeeds in the
   comment text is given with the html tag <br>.
   As you can see in the last entry the category and comment has been left out, leaving only the
   required semicolons.
   The comments <!-- and --> is not neccessary but prevents the image information
   from appearing on the webpage containing it.
 

Applet Controls

The controls on the applet is fairly intuitive, the [>] button will forward to the
next picture, the [<] button will go back and the [O] will stop the looping.

After pressing the [O] button you will see the button change to [(o)]
to resume the viewing just press the button again.

Note that the slide-show loop is still active wheter you press [>] or [<] if you want to control
the view first press [O] and then either [>] or [<]

To select a category just chose the category you want from the select list and wait for the
picture to load.
 

Trouble shooting

If you have any trouble with the applet first look at the troubleshooting section,
if you cannot find the answer there mail me at plundin@kagi.com and I'll try to
answer your question.
 


 
Purchase the applet

The applet is shareware, the demo period is ten days after which you must purchase the
full version if you want to continue using the applet.

The shareware fee is $20 and can be payed through a secure server at Kagi:
https://order.kagi.com/?POA&S
 

Applet Viewer, Copyright © 1999 Patrik Lundin, plundin@kagi.com