getPath()

Returns the URL of a picture in an fglgallery.

Syntax

getPath(
   id SMALLINT,
   index STRING )
  RETURNS STRING
  1. id is the fglgallery identifier, as returned by the create() function.
  2. index is the picture index in the image gallery.

Usage

This function returns the path (URL) of a picture in an image gallery. The value returned by this function corresponds to the path provided as second parameter to the addImage() function.

The id parameter is the fglgallery handler returned by the create() function.

The index parameter identifies the picture by its ordinal position in the image gallery.

Example

DISPLAY fglgallery.getPath( id, 10 )