blob.blobImage()

NES2+Syntax

cursor.column.blobImage(fileType, altText, align, width, height, border, ismap)

Description

The blobImage() method retrieves and displays a BLOb image stored in a database. The method actually returns the HTML for the <IMG> tag used to display the image. The HREF attribute of the <IMG> tag references the instance of this image in memory and does not have to contain a "normal" URL of the image itself.

This method can take up to seven parameters that set the various attributes of the <IMG> tag. These attributes are contained in Table 8.2. At a minimum, you must pass the fileType of the image.

Table 8.2. Properties That Can Be Set with the blobImage() Method
ParameterAttribute It SetsDescription
fileTypenoneThis parameter ...

Get Pure JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.