Moving your images – Apple WebObjects 3.5 Tools And Techniques User Manual
Page 29
Converting Old Projects
29
Moving Your Images
After the project is converted, there are additional changes you may want to
make in order to take advantage of the new features of WebObjects 3.5. In
previous versions, images were stored inside the components themselves.
To support the new “split installation” procedure, images should be stored
in the Web Server Resources suitcase, so that the web server can access
them at run time. (When you build your project, the items in this suitcase
are copied to the
WebServerResources
directory inside the application wrapper.)
When using the dynamic elements WOImage and WOActiveImage, you
use their
filename
attribute to reference images inside the
WebServerResources
directory. You may also have images in a framework that can be shared by
multiple applications. To access these images, use the
framework
attribute to
specify the framework name. See “Working With Dynamic Elements” in
this document and the Dynamic Elements Reference for more information.