APPLET TAG Parameters

The Syntax for JphotoViewer follows:

< APPLET
ARCHIVE = "jphotoviewer.jar"
CODE = "jviewer.jphotoviewer.class"
NAME = "JPhotoViewer"
WIDTH = 200
HEIGHT = 150
HSPACE = 0
VSPACE = 0
ALIGN = MIDDLE
< PARAM NAME="PhotoCollectionFileName" VALUE="PhotoCollection.alb" >
< PARAM NAME="OpenBrowserWithImageOnClick" VALUE="YES | NO" >
< PARAM NAME="TiledWallpaperImage" VALUE="MyWallpaper.gif" >
< PARAM NAME="CanvasBgColorHex" VALUE="FFFFFF" >
< PARAM NAME="PhotoBorderColorHex" VALUE="FFFFFF" >
< PARAM NAME="PhotoEdgeSpacing" VALUE="4" >
< PARAM NAME="AutoSlideShow" VALUE="YES | NO" >
< PARAM NAME="WipeEffect" VALUE="NONE | RANDOM | etc." >
< PARAM NAME="DelayInSeconds" VALUE="5" >
< PARAM NAME="DisplayLoadingMessage" VALUE="YES | NO" >
< PARAM NAME="ShortDescrRows" VALUE="3" >
< PARAM NAME="ShortDescrBgColorHex" VALUE="FFFFFF" >
< PARAM NAME="ShortDescrTextColorHex" VALUE="FFFFFF" >
< PARAM NAME="ShortDescrFontSize" VALUE="12" >
< PARAM NAME="HideShortDescr" VALUE="YES | NO" >
< PARAM NAME="LongDescrRows" VALUE="3" >
< PARAM NAME="LongDescrBgColorHex" VALUE="FFFFFF" >
< PARAM NAME="LongDescrTextColorHex" VALUE="FFFFFF" >
< PARAM NAME="LongDescrFontSize" VALUE="12" >
< PARAM NAME="HideLongDescr" VALUE="YES | NO" >
< PARAM NAME="ButtonBarBgColorHex" VALUE="FFFFFF" >
< PARAM NAME="ButtonBarTextColorHex" VALUE="FFFFFF" >
< PARAM NAME="HideButtons" VALUE="YES | NO" >
< PARAM NAME="FirstButtonText" VALUE="First" >
< PARAM NAME="NextButtonText" VALUE="Next" >
< PARAM NAME="PreviousButtonText" VALUE="Previous" >
< PARAM NAME="LastButtonText" VALUE="Last" >
< /APPLET >


PhotoCollectionFileName
This is the URL address of the Photo Collection File.   The Photo Collection File is a text file that contains a set of script commands that define the photos, text annotations, text overlays, font sizes, etc. that are used by JPhotoViewer.   Windows users can use the Photo Collection Editor to modify this file in a GUI enviornment.   We recommended that the Photo Collection File and the JPhotoViewer applet reside in the same directory on the web server.   The Photo Collection Editor creates a file with an (.ALB) extension, but any extension can be used.  

OpenBrowserWithImageOnClick
This parameter controls whether a new browser window is opened when the user clicks on the photo in the applet.   The browser window will contain the full-sized image (the photo in the applet viewer may be scaled). Note: if you selected an On-Click URL in the photo collection file than this URL is overridden with the URL from the photo collection file.

TiledWallpaperImage
This is the URL address to the image(JPEG or GIF) file that is used to create a tiled background for JPhotoViewer.     You can specify a complete URL or a relative path.  
This parameter is optional.

CanvasBgColorHex
This is the color of JPhotoViewer's canvas.   If you decide to use a tiled background, then this color will not be visible.  
Note: color values are specified in hexadecimal (RRGGBB).

PhotoBorderColorHex
This is the color of the thin border that is displayed around the perimeter of the photo.   The border is used to add some contrast between the photo and the background.
Note: color values are specified in hexadecimal (RRGGBB).

PhotoEdgeSpacing
This is the spacing (in pixels) between the photo and the applet's edges.   This is used to create a buffer zone between the photo and the applet's borders.

AutoSlideShow
The Slide Show feature displays the photo collection automatically without any user interaction.   You can also specify a delay interval.
The possible values are YES or NO.  

DelayInSeconds
This is the delay interval that is used when displaying a Slide Show. When setting this delay interval keep in mind that some users may be using slow connections.   A short delay interval may be inadequate to load large photos.

WipeEffect
Wipe effects are used to create transitions from one photo to the another.

The possible values for the Wipe Effect parameter are:

GROWOUTWARDWipe starts at the center of the photo and moves outward in all directions.
DIAGONALWipe start from upper left and moves downward towards lower right.
CHECKERBOARDA checkerboard transition.
CURTAINSWipe starts from center of photo and moves outward to right and left.
RANDOMUses a random transition effect
NONENo transitions are used
 

DisplayLoadingMessage
If enabled, a message "Loading Photo 1 of x" is displayed while the photo is being loaded.  
The possible values are YES or NO.

ShortDescrRows
This is the number of visible rows in the "Short Description" List Box.   This List Box is the topmost component of the Photo Viewer.   This list box provides a brief description of the photos.

ShortDescrBgColorHex
This is the background color of the Short Description List Box.
Note: color values are specified in hexadecimal (RRGGBB).

ShortDescrTextColorHex
This is the text color of the Short Description List Box.
Note: color values are specified in hexadecimal (RRGGBB).

ShortDescrFontSize
This is the font size of the Short Description List Box.

HideShortDescr
This parameter is used to hide or show the Short Description List Box (the topmost component of the photo viewer).
The possible values are YES or NO.

LongDescrRows
This is the size (the number of text lines) of the Long Description Text Box.   This text box contains detailed information regarding the current photo.

LongDescrBgColorHex
This is the background color of the Long Description Text Box.
Note: color values are specified in hexadecimal (RRGGBB).

LongDescrTextColorHex
This is the text color of the Long Description Text Box.
Note: color values are specified in hexadecimal (RRGGBB).

LongDescrFontSize
This is the font size of the Long Description Text Box.

HideLongDescr
This parameter is used to hide or show the Long Description Text Box. (this component is located at the bottom of the photo viewer).
The possible values are YES or NO.

ButtonBarBgColorHex
This is the background color of the Navigation Buttons.
Note: color values are specified in hexadecimal (RRGGBB).

ButtonBarTextColorHex
This is the text color of the Navigation Buttons.
Note: color values are specified in hexadecimal (RRGGBB).

HideButtons
This parameter is used to hide or show the Navigation Buttons that appear at the bottom of JPhotoViewer.
The possible values are YES or NO.

FirstButtonText
This is the custom caption for the First Button.   International customers can make use of this by adding text in their own dialect.

NextButtonText
This is the custom caption for the Next Button.   International customers can make use of this by adding text in their own dialect.

PreviousButtonText
This is the custom caption for the Previous Button.   International customers can make use of this by adding text in their own dialect.

LastButtonText
This is the custom caption for the Last Button.   International customers can make use of this by adding text in their own dialect.