Stream processing converts directives and JavaServer Page tags to the HTML (or XML) source text. Q-1508 PEPEN Stream processing operates on relative document paths, such as:
<img src="images/mypicture.jpg" >
and assumes that PNG, JPG, and GIF images referenced in HTML are defined by binary file rules (Rule-File-Binary rule type). Storing an image in a rule provides the benefits of version control, packaging, and inheritance.
Use the Image Gallery gadget (using > User Interface > Galleries > Image Gallery) to find the keys of a binary file rule for
an image used in your system, or to review the appearance of an image.
You can references these images in HTML for both correspondence and Web
browser display.
To reference an image that is stored outside the Process Commander environment, provide a fully qualified URL, as in:
<img src="http://myserver/images/mypicture.jpg">
Because such images are not stored within a binary file rule, the advantages of versioning, rule resolution and so on are not available for them.
If you create new images for your application that
are to be saved in rules, upload each image to a new rule instance using
the Binary File rule form. Thereafter, you can reference them in source
HTML by entering (for example):
<IMG SRC="3dball.gif">
If you create custom images in your application
that override standard images, make the new ones the same size in pixels
as the original. For GIF files, make the background transparent.
The first time an image is needed for a user,
Process Commander extracts the image file from the binary file rule and
stores it in a directory (based on RuleSet and Version) for HTTP serving.
In later requests, the HTTP server software (such as Tomcat) delivers the
image file from the file system, not from the rule.
The BMP file type is proprietary to Microsoft.
Although Windows BMP files can be stored in binary file rules, as a best
practice use JPG, GIF, or PNG files rather than BMP files for images
presented by Internet Explorer or other Web browsers. Use a paint
software package to convert a Windows BMP files to JPG or GIF format, and
store the converted file in a binary file rule. B-20839
rejected
![]() |
About Binary
File rules How stream processing works User Interface category — Galleries landing page. |