Image

This section discusses:

  • IScript_GetImage

  • IScript_GetImageFileSpec

Syntax

IScript_GetImage(&ImageID)

Description

IScript_GetImage retrieves the image tag for an image ID. The image ID is retrieved, and all of the parameters surrounding the image are placed in the image tag.

The declaration is:

Declare Function IScript_GetImage PeopleCode WEBLIB_WEBPUB.EO_PE_IMAGE Field
Formula;

Parameters

Function Call Parameters:

Parameter

Description

ImageID

Specify the image ID for the image that you want to retrieve.

Query String Parameters: None.

Returns

Returns the HTML image tag.

Syntax

IScript_GetImageFileSpec(ImageID)

Description

IScript_GetImageFileSpec retrieves the file path and file name for an image ID. The image ID is retrieved, and the path and file name are concatenated.

The declaration is:

Declare Function IScript_GetImageFileSpec PeopleCode WEBLIB_WEBPUB.EO_PE_IMAGE
 FieldFormula;

Parameters

This table lists the Function Call Parameters:

Parameter

Description

ImageID

Specify the image ID for the image that you want to retrieve.

Query String Parameters: None.

Returns

Returns the concatenated file path and file name.