Notes:
This procedure applies to paper-based reports output to an HTML or HTMLCSS
file. This is unrelated to HTML that might be generated when you run a JSP-based
Web report (when you click the Run Web Layout button in the toolbar, or
choose ProgramRun
Web Layout). Additionally, file link objects are not implemented in
JSP-based Web reports.
These steps, and the steps to select an
image URL from the database, allow you to include images in a wide variety
of formats supported by Oracle Reports, including JPEG (all types, such
as Progressive JPEG and Exif JPEG), PNG, BMP, TIFF, GIF, and CGM. For paper-based
reports, you can also use InsertImage
to import an image from a file into the report
layout for images in the following formats: TIFF, JFIF, BMP, TGA, PCX,
PICT, GIF, CALS, RAS, OIF, PCD.
To link an image object to a URL that points to an image to include in an HTML report:
In the Paper Design view
or Paper Layout view,
click
in the tool palette
Click and drag a rectangle.
Double-click the file link object to display the Property Inspector.
Under the File Link Boilerplate node:
Set the Source File Format property to Image URL.
Set the Source Filename property to the URL where the image is located.
Example 1: Image URL
http://www.oracle.com/images/logo.gif
Example 2: Image URL containing user parameter
http://&<P_SERVER_NAME>/images/logo.gif
where P_SERVER_NAME
is a user parameter of type CHAR
At runtime, the end user can specify a value for the parameter (for example, P_SERVER_NAME=www.oracle.us.com
for a dynamic URL link of http://www.oracle.us.com/images/logo.gif
).
Example 3: URL to a file
FILE://c:/images/logo.gif
Note: If you click Browse to find a file, Oracle Reports automatically
prepends FILE://
to the returned path.
Linking an image object to a file
Selecting an image URL from the database
Selecting an image from the database
Importing an image (for images of format TIFF, JFIF, BMP, TGA, PCX, PICT, GIF, CALS, RAS, OIF, PCD)
Copyright © 1984, 2005, Oracle. All rights reserved.