Table of Contents Previous Section


WOImage

Synopsis

WOImage { src=aPath | value=imageData; ... };

Description

A WOImage displays an image in the HTML. It corresponds to the HTML element <IMG SRC="URL">.

src
Path to the file containing the image data. The source can be statically specified in the declaration file or it can be an NSString, an object that responds to a description message by returning an NSString, or a method that returns an NSString.

value
Image data in the form of a WOElement object. This data can come from a database, a file, or memory.

Examples

Simple example
Daily image
Image data from a file

Table of Contents Next Section