guides:o4w:o4w_api:o4wimage

O4WImage routine

Displays the image specified in <url> at the current location, using <text> as the 'alternate text'.

O4WImage(text, url, linktype, linkto, target, id, style)

The function has the following parameters:

ParameterDescription
textThe alternate text to be displayed if the image is not found.
urlThe URL to the image to be used.
linktypeThe type of link. See O4WLINK for a list of valid <linktype> values.
linktoIf not null then image is also a link to the specified location.
targetSpecifies the target browser window.
idIf <ID> is specified, this image can be addressed through style sheets individually.
styleIf <style> is specified, the style is applied to the image that is generated.

Note that <style> can be either the name of a style (as created by one of the O4W style functions, or as defined in an included style sheet), or it can be the returned value from one of the O4W style functions.

If O4WHTMLOptions is specified as one of the style options, this may return HTML rather than actually embedding the image on the form.
  • guides/o4w/o4w_api/o4wimage.txt
  • Last modified: 2024/06/19 20:19
  • by 127.0.0.1