Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Adding image to HTML Report

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Adding image to HTML Report
 Login/Join
 
Gold member
posted
Folks,
Need a favour.Have created a .fex which gives the output in HTML format.
I want to include an image at the HEADER part.

Have given the code as follows.

TYPE = REPORT, IMAGE=IMAGE003.GIF, $

Am using -mrnoedit begin and -mrnoedit end too.Image file is also saved in the same directory in the dataserver area where the report resides.

The same code is working fine if the output is PDF but HTML does not show the image.
The help says that, to include an IMAGE in HTML report then the URL should be specified.
I have tried in the following way also
image = http://servername/approot/applicationname/imagefilename.
But still no image displayed.Any help with example would be of great help.Hope am making mistake in specifying the path of the image file only. Is there anyway we can get the path (virtual - http://....) of the image file in the dataserver area.
 
Posts: 71 | Registered: November 20, 2003Report This Post
Platinum Member
posted Hide Post
Hello Kasi,

Try the following for image in the header.

DEFINE FILE TEST
IMG/A50 = '<IMG SRC="http://<servername>/path/ss.jpg">';
END

TABLE FILE TEST
PRINT PROJECT
HEADING
"<IMG "
" "
ON TABLE SET HTMLCSS ON
ON TABLE PCHOLD FORMAT HTML
END
 
Posts: 143 | Location: Rochester,NY. | Registered: August 20, 2004Report This Post
<Pietro De Santis>
posted
I think for HTML reports, the image should be on the web server, not the data server, because, when the HTML report is displayed, the URL has to be pointing to a location that the web server can read.
 
Report This Post
Guru
posted Hide Post
I agree with Pietro you need to put the images some where the web server can access them.

If you want the files under the ibi directories try placing them in ibi/webfocus53/ibi_html. The url should them be http://servername/ibi_html/imagefile.gif

Try this out http://servername/ibi_html/ib_logo.gif
 
Posts: 406 | Location: Canada | Registered: May 31, 2004Report This Post
Guru
posted Hide Post
This was very useful for me as well; thanks!
 
Posts: 318 | Location: Los Angeles, CA | Registered: November 15, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Adding image to HTML Report

Copyright © 1996-2020 Information Builders