IMG and IMG2 v15

These functions and procedures generate the <IMG> tag, which loads an image onto the HTML page. The difference between these syntaxes is that htp.img2 uses the cusemap parameter.

Syntax

The following is the syntax for HTP:

HTP.IMG (
   curl           IN       VARCHAR2   DEFAULT NULL
   calign         IN       VARCHAR2   DEFAULT NULL
   calt           IN       VARCHAR2   DEFAULT NULL
   cismap         IN       VARCHAR2   DEFAULT NULL
   cattributes    IN       VARCHAR2   DEFAULT NULL);

htp.img2(
   calign         IN       VARCHAR2   DEFAULT NULL
   calt           IN       VARCHAR2   DEFAULT NULL
   cismap         IN       VARCHAR2   DEFAULT NULL
   cusemap        IN       VARCHAR2   DEFAULT NULL
   cattributes    IN       VARCHAR2   DEFAULT NULL);

The following is the syntax for HTF:

HTF.IMG (curl, calign, calt, cismap, cattributes) RETURN VARCHAR2;

HTF.IMG2(curl, calign, calt, cismap, cusemap, cattributes) RETURN VARCHAR2;

Parameters

ParameterPurpose
curlThe value for the SRC attribute.
calignThe value for the ALIGN attribute.
caltThe value for the ALT attribute, which specifies alternative text to display if the browser doesn't support images.
cismapIf the value for this parameter isn't NULL, adds the ISMAP attribute to the tag. The attribute indicates that the image is an imagemap.
cusemapThe value for the USEMAP attribute, which specifies a client-side image map.
cattributesOther attributes to include as is in the tag.