Table of Contents Previous Section

WOImage

Synopsis

WOImage { src=aURL | value=imageData; | filename= imageFileName; [framework = frameworkBaseName|"app" ;] ... };

Description

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

src
URL containing the image data. Use this attribute for complete URLs; for relative URLs use filename instead.
value
Image data in the form of a WOElement object. This data can come from a database, a file, or memory.
filename
Path to the image relative to the WebServerResources directory.
framework
Framework that contains the image file. This attribute is only necessary if the image file is in a different location from the component. That is, if the component and the image file are both in the application or if the component and the image file are both in the same framework, this attribute isn't necessary. If the image file is in a framework and the component is in an application, specify the framework's name here (minus the .framework extension). If the image file should be in the application but the component is in a framework, specify the "app" keyword in place of the framework name.

Examples

Shared image
Daily image
Image data from a file

Table of Contents Next Section