Web Connection User's Guide
In addition to text, a basic Web page can include inline graphic
images. To add an image to a page, use the Image part. This part
represents the HTML <img> element.
In the properties of the Image part, you must specify where the graphic you
want to use for the image is located. You can actually configure two
different graphics or locations:
- Edit-time graphic
- The graphic to display in the Composition Editor during
development. This must be a graphic file located on your local
machine. The edit-time graphic is specified by the
localFileName property of the Image part.
For the edit-time graphic, you can specify a file in any of the following
formats:
Specifying an edit-time image is optional and does not affect what will
appear in client browsers.
- Runtime graphic
- The graphic to specify in the generated HTML, which will be loaded by the
browser when the page is loaded. The runtime graphic is specified by
the imageURL property of the Image part. You can specify the
runtime graphic in either of two ways:
- A URL specifying the location of the graphic. If you specify a URL,
the browser must have access to the location the URL describes, and the
graphic file must be in a format supported by the browser.
- A VisualAge part containing the graphic. This option makes it
possible to build a VisualAge part that dynamically generates an image at run
time.
If the runtime graphic is in a file, it can be in any format supported by
your client browsers. Most browsers support GIF and JPG (JPEG)
formats.
As with Text, you can place hypertext links on an Image. In the
settings of the Image part, you must specify a VisualAge part name or URL for
the link property.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]