Documentation Archive Developer
Search
PATH  Documentation > WebObjects 4.5 > Tools and Techniques

   

Dynamic Images

The elements WOImage and WOActiveImage are dynamic images. At run time, WOImage is rendered as a passive image and WOActiveImage as a mapped, active image. To create them, click or in the toolbar, respectively.

A static image element requires you to specify its pathname directly in the HTML. With dynamic images, you bind the filename attribute to specify the name of an image file in your project, or in a framework. You can bind this attribute to a key so that the filename is dynamically generated at run time.

You can also create a WOImage by dragging an image from the file system into your component (see Dragging Elements into the Component Window for more information). An alert appears, asking whether you want to add the image to the project (if it is not already in the project). If you do, the file is added to the Web Server Resources suitcase of your project.


© 1999 Apple Computer, Inc. – (Last Updated July 27 99)