Home » Developer & Programmer » Reports & Discoverer » Display an image using its URL (Reports 6i, database 9i)
Display an image using its URL [message #435765] Thu, 17 December 2009 17:04
Messages: 1
Registered: December 2009
Location: Mexico
Junior Member
I'm working with reports 6i to generate reports with the runtime.
I'd like to add an image using its URL.

I followed the documentation which says:

To link an image object to a URL:

1 In the Live Previewer view, click in the tool palette. Note
2 Click and drag a rectangle.
3 Double-click the link file object to display the Property Palette.
4 Under the Link File Boilerplate node:

n Set the Source File Format property to Image URL.
n Set the Source Filename property to the URL where the image is located with the required protocol.
Examples :
Following are examples of specifying URLs for images:

1 HTTP: //www .oracle.com/images/logo.gif

2 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 (e.g., P_SERVER_NAME = www.oracle.us.com for a dynamic URL link of HTTP: //www .oracle.us.com/images/logo.gif).

3 FILE://c:/images/logo.gif
Note: If you click Browse to find a file, Report Builder automatically prepends FILE:// to the returned path.

I tried diferents path for the Source Filename(HTTP , FILE:/) but nothing works, I only get a frame with the URL instead of the image (the link is correct if I check it in a browser).

Any idea ?

If I put "Source File Format" as Image and put the network path, no problem, but I'd like to retrieve the image with http.

I'm thinking in using a BLOB to store the image but it doesn't look so nice Sad

Thanks a lot for your advices.
Previous Topic: Get parameter name and type at runtime
Next Topic: matrix report with fiscal months
Goto Forum:

Current Time: Thu Jul 27 04:04:22 CDT 2017

Total time taken to generate the page: 0.15225 seconds