|
|
Photo Collection File - Script Commands
The Photo Collection File uses the following syntax:
| [Photo] | |
| PhotoURL = | images/picture1.jpg |
| PhotoShortDesc = | This is picture # 1 |
| PhotoLongDesc = | This is the detailed text for Picture # 1 |
| PhotoLongDesc = | This is the 2nd line of the detailed information for Picture # 1 |
| OverlayText = | This text appears on top of the photo |
| OverlayText = | This is the 2nd line of that text appears on top of the photo |
| OverlayFontSize = | 16 |
| OverlayFontColor = | ffffff |
| OverlayOutlineColor = | 000000 |
| OverlayAlignment = | TOP | MIDDLE | BOTTOM |
| PhotoOnClickURL = | http://www.yahoo.com
|
|   |
|
| [Photo] | |
| PhotoURL= | http://www.galleriasoftware/images/picture2.gif |
| PhotoShortDesc = | This is picture # 2 |
| PhotoLongDesc = | This is the detailed text for Picture # 2 |
| PhotoLongDesc = | This is the 2nd line of the detailed information for Picture # 2 |
| OverlayText = | This text appears on top of the photo |
| OverlayText = | This is the 2nd line of that text appears on top of the photo |
| OverlayFontSize = | 16 |
| OverlayFontColor = | ffffff |
| OverlayOutlineColor = | 000000 |
| OverlayAlignment = | TOP | MIDDLE | BOTTOM |
| PhotoOnClickURL = | http://www.infoseek.com |
|   |
|
| [Photo] | |
| PhotoURL= | picture3.jpg |
|
PhotoURL
This is the URL address of the image (you can specify a JPEG or GIF file).
  You can specify an complete URL or a relative path.
  If you are creating a text-only frame, you can omit this command.
  Text-only frames might are handy if you want to create title pages.
PhotoShortDesc
The short description appears in the List Box
(the topmost component in JPhotoViewer).
  This command is optional and if you omit this field,
the image's filename will be used instead as the short description.
PhotoLongDesc
This is the long description that appears in the Text Box at the
bottom of JPhotoViewer.   Line continuation is facilitated by
repeatedly using this command.   This command is optional.
OverlayText
This is the text that is overlayed on top of the photo.   This text can
be aligned to the top, middle, or bottom of the photo.
  Line continuation is facilitated by
repeatedly using this command.   This command is optional.
OverlayFontSize
This is the font size of the Text Overlays.
OverlayFontColor
This is the font color of the Text Overlays.  
Text Overlays also have a corresponding outline color.
Note: color values are specified in hexadecimal (RRGGBB).
OverlayOutlineColor
This is the outline color of the Text Overlays.  
  The outline color is used to to make a sharper contrast between
the text and the image.
Note: color values are specified in hexadecimal (RRGGBB).
OverlayAlignment
The Overlay Alignment is used to position the Overlay Text relative to
the photo.  
The options are:
TOP,
MIDDLE, or
BOTTOM
PhotoOnClickURL
A URL link can be associated with each photo.   When the user clicks
on the photo, the associated HTML document will be opened.  
See PhotoOnClickFrame for more details.
PhotoOnClickFrame
The frame option is used to specify how the HTML document gets opened.
A value of "_blank" displays the document in a new browser window.
A value of "_self" displays the document in the applet's frame.
A value of "_parent" displays the document in the applet's parent frame.
A value of "_top" displays the document in the applet's top level frame.
You can also specify the name of frame that you had already created.
PhotoLocalFileName
This command is used exclusively by the Photo Collection Editor.  
The JPhotoViewer applet ignores this command alltogether.  
This command is solely used by the Photo Collection Editor to
store a Windows path and filename to the photo.
|
|