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.
Not sure if it's a problem your end but the following will display the .jpg perfectly. It uses an existing .jpg file contained within the ibisamp folder.
TABLE FILE CAR
SUM RCOST
DCOST
BY COUNTRY
BY CAR
BY MODEL
HEADING
" </4"
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
UNITS=IN, PAGESIZE='A4', LEFTMARGIN=0.20, RIGHTMARGIN=0.20, TOPMARGIN=0.20,
BOTTOMMARGIN=0.20, SQUEEZE=ON, ORIENTATION=LANDSCAPE, PAGECOLOR=RGB(240 245 255), $
TYPE=HEADING, IMAGE=mnt_bg1.jpg, POSITION=(0 0), SIZE=(11 8), $
ENDSTYLE
END
Don't forget that the image file has to be local to the reporting server in the case of PDFs but local to the client server (web server) for HTML and Excel output.
Regards
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
Old documentation (4.3) suggests that only .gif files should be embedded in PDF or PS output. However, documentation for 7.1.3 for including a graph in a PDF document, states that "Graphs must be specified as a format of SVG, GIF, or JPG.". Ok, that is specific to graphs, but as by nature these are images then it follows that JPG files must be Ok to embed into a PDF document via WebFOCUS.
My example above is from WF 5.3.2 on Windows.
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
ah. i'm on 5.2 maybe that's the problem. maybe its 53+ only; my jpg is in ibi_apps\ibisamp, the only jpeg that comes along with that dir. the gifs in the dir work fine the jpg yields a 'error in stylesheet' (i use the full mapped drive address of the images, anyway)
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
I thought the additional image support came when major release 5 was issued?
Your comment ...
quote:
my jpg is in ibi_apps\ibisamp, the only jpeg that comes along with that dir.
would indicate to me that you are refering to the web server and not the reporting server? If that is the case then check out the existance of the [drive]:/ibi/apps/ibisamp folder on the reporting server (or are they both the same as on a local install?) as that is where the file must exist.
Regards
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
oops i mistyped i meant ibi\apps\ibisamp when i reference the gif in that directory, it works fine. when i ref the jpg , it gives me the stylesheet error. so, you're thining 5n should work? hmmm. i'll open a case maybe.
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003