Cursor.blobImage() (Method)

This method creates an <IMG> element having the appropriate mimeType for the blob object.


JavaScript - 1.1
Netscape Enterprise Server - 2.0
Property/method value type:Image object
JavaScript syntax:NESmyCursor.blobImage(aFormat)
NESmyCursor.blobImage(aFormat, aTxt)
NESmyCursor.blobImage(aFormat, aTxt, anAlign)
NESmyCursor.blobImage(aFormat, aTxt, anAlign, aPixWid)
NESmyCursor.blobImage(aFormat, aTxt, anAlign, aPixWid, aPixHgt)
NESmyCursor.blobImage(aFormat, aTxt, anAlign, aPixWid, aPixHgt, aPixBrdr)
NESmyCursor.blobImage(aFormat, aTxt, anAlign, aPixWid, aPixHgt, aPixBrdr, isMap)
Argument list:aFormatImage file format
anAlignThe alignment of the image
aPixBrdrThe border value
aPixHgtThe height of the image
aPixWidThe width of the image
aTxtThe alt text for the image
isMapWhether the image is a map

The data is pulled out of the database according to the specified parameters. The BLOB can then be displayed as if it were an image in an <IMG> tag.

The format argument should contain an image specifier such as "GIF" or "JPEG" that can map conveniently to a file extension or MIME type.

In general, the remaining parameters to this method correspond to the HTML tag attributes that can be used with an <IMG> tag and are optional.

See also:blob.blobImage()