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     stylesheets: posting gif in a host file

Read-Only Read-Only Topic
Go
Search
Notify
Tools
stylesheets: posting gif in a host file
 Login/Join
 
Gold member
posted
How can i take a logo with a (.gif ending) and put it into a host report within a style sheet. Any help would be greatly appreciated!!


WF 7.6.10 /IIS 6/ JBoss Enterprise 4.3
Windows XP SP 2/Windows 2003 Server
MVS 7.3.3
 
Posts: 76 | Location: Hartford, CT | Registered: August 30, 2005Report This Post
Expert
posted Hide Post
Check out the use of IMAGE keyword within the HEADING type.

TYPE=HEADING, IMAGE=/approot/anthonya/web.gif, $


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, 2004Report This Post
Virtuoso
posted Hide Post
If the .GIF is already in an app directory on the server path, you only need to specify the image name (no extension required). You probably also will make use of SIZE and POSITION attributes for proper placement. Tony already specified where to look for more complete instructions.

You also may want to make a note that we experienced problems with using some of our GIF images when upgrading to 71x from 53x. Notice I said some, not all. Never figured that one out, but easy enough to convert them to JPG or SVG so we never dug into it.

Anyone else run into something similar?


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Gold member
posted Hide Post
Please remember that it is the HOST and not the Web side.


WF 7.6.10 /IIS 6/ JBoss Enterprise 4.3
Windows XP SP 2/Windows 2003 Server
MVS 7.3.3
 
Posts: 76 | Location: Hartford, CT | Registered: August 30, 2005Report This Post
Virtuoso
posted Hide Post
That's what we are all talking about. Are you trying to define HOST as something different than what it is?


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Expert
posted Hide Post
As has been said before, the location for an IMAGE file has to be one of the following -

Within the APP folders on the reporting server if the output format is PDF. This is because the PDF stream is completed on the RS before being sent back to the client.

A "real" URL that can be entered into a Web browser address bar to display the image within that browser. This is a requirement for HTML output because HTML imgs are located via a URL. Yes, I know that most people know that (or should do) but just in case someone doesn't ..... they know now (unless they don't learn from reading Wink).

For Excel output you have to be able to use the location for your image in a hyperlink, whether that be a URL or somewhere on a network share.

Think about how your output requires the image file and you might then be able to understand where the file needs to be, and you days of pondering over this life changing question will be a thing of the past Smiler

Smile, it's only 14 weeks 'til Summit!

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, 2004Report This Post
Gold member
posted Hide Post
Please remember that this is not WebFocus it is Host Focus running on MVS. There are no app paths on the host.


WF 7.6.10 /IIS 6/ JBoss Enterprise 4.3
Windows XP SP 2/Windows 2003 Server
MVS 7.3.3
 
Posts: 76 | Location: Hartford, CT | Registered: August 30, 2005Report This Post
Expert
posted Hide Post
If you are using stylesheets then the same basic rule applies.

Identify how your end application uses the address of the file and apply it!

E.g. Ask yourself - What application will be used to display the output? Then decide how you need to identify the path to the file.

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, 2004Report This Post
Gold member
posted Hide Post
Thanks Tony and Darin for your suggestions. The .gif must be in a PDS with a DDName of the gif.


WF 7.6.10 /IIS 6/ JBoss Enterprise 4.3
Windows XP SP 2/Windows 2003 Server
MVS 7.3.3
 
Posts: 76 | Location: Hartford, CT | Registered: August 30, 2005Report This Post
Virtuoso
posted Hide Post
quote:
WF 5.33, 7.64 Virtual/Apache Tomcat 5.5/IIS 6/
Windows XP SP 2/Windows 2003 Server


It would be hard to understand from your profile that you were talking about FOCUS on MVS. if you're creating these using only FOCUS, I would be interested to know what output format your "host file" is and how you are delivering it for use. I would suppose if you want images in it, then it is being printed or delivered to a vewing utility like acrobat reader or Ghostview.

The right answer may have come sooner, but glad you found your answer.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report 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     stylesheets: posting gif in a host file

Copyright © 1996-2020 Information Builders