| Availability: |
| |||
| Property/method value type: | Image object | |||
| JavaScript syntax: | NES | myCursor.blobImage(aFormat) | ||
| NES | myCursor.blobImage(aFormat, aTxt) | |||
| NES | myCursor.blobImage(aFormat, aTxt, anAlign) | |||
| NES | myCursor.blobImage(aFormat, aTxt, anAlign, aPixWid) | |||
| NES | myCursor.blobImage(aFormat, aTxt, anAlign, aPixWid, aPixHgt) | |||
| NES | myCursor.blobImage(aFormat, aTxt, anAlign, aPixWid, aPixHgt, aPixBrdr) | |||
| NES | myCursor.blobImage(aFormat, aTxt, anAlign, aPixWid, aPixHgt, aPixBrdr, isMap) | |||
| Argument list: | aFormat | Image file format | ||
| anAlign | The alignment of the image | |||
| aPixBrdr | The border value | |||
| aPixHgt | The height of the image | |||
| aPixWid | The width of the image | |||
| aTxt | The alt text for the image | |||
| isMap | Whether 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() |
| Prev | Home | Next |
| Cursor.<column_name> | Up | Cursor.blobLink() |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. | ||