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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
image not found...
 Login/Join
 
<Shane>
posted
All:

I have an htm page that is refrencing several images. When I go into the text editor to add a new image and run the report, the image doesn't show up. I get the red X. However, if I put the absolute path of the image (https://server/path/image.gif) in the src property of the img tag, it pulls up the image. All of the other images that I'm referencing on the page are relative references (image.gif) and not absolute.

I cannot go into the HTML Layout Painter because it erases a lot of custom javascripting that we have embedded in the page. What must I do to get my image to show up without using an absolute reference?

Shane
 
Report This Post
Master
posted Hide Post
SET BASEURL=https://server/path/ should do the trick!



Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2
Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
 
Posts: 888 | Location: Airstrip One | Registered: October 06, 2006Report This Post
<Shane>
posted
hammo1j,

I can put this in my html code?

Shane
 
Report This Post
Master
posted Hide Post
This is the html tag like BASEURL it generates when you view source

<BASE HREF="https://server/path/">



Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2
Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
 
Posts: 888 | Location: Airstrip One | Registered: October 06, 2006Report This Post
<Shane>
posted
I put that in my html code and still can't seem to get the image to show up...

<HTML>
<HEAD>
<SCRIPT id=IBI_RelCallBack type=text/javascript>function AdjustChildrenPosition(){
}
</SCRIPT>
<BASE HREF="https://bisdev.nal.com/approot/shane/">
<SCRIPT id=IBI_OptionsScript type=text/javascript>
var rltVersion = "764";
var cgipath = "cgipath";
var ibirls = "ibirls2";

var rltdyncalendar = "rltdyncalendar";
var gmap = "ibigmap";
var olap="olap";
var olappanebase="olappanebase";
var olapdrill="olapdrill";

var ibixmltree="ibixmltree";

var ibiOptions = new Array(cgipath,ibirls);
</SCRIPT>

<SCRIPT id=IBI_nls src="/ibi_html/javaassist/nls.js" type=text/javascript></SCRIPT>

<SCRIPT id=IBI_ibigbl src="/ibi_html/javaassist/ibi/html/js/ibigbl.js" type=text/javascript></SCRIPT>

...

function pleaseWait() {
  iframe_efficiency.document.write("<center><br><br><br><br><img src='circle_wait.gif'><font face='Tahoma'><p></p>Please wait...</font></center>");
  iframe_utilization.document.write("<center><br><br><br><br><img src='https://bisdev.nal.com/approot/shane/circle_wait.gif'><font face='Tahoma'><p></p>Please wait...</font></center>");
  iframe_capacity.document.write("<center><br><br><br><br><img src='https://bisdev.nal.com/approot/shane/circle_wait.gif'><font face='Tahoma'><p></p>Please wait...</font></center>");
  iframe_defect.document.write("<center><br><br><br><br><img src='https://bisdev.nal.com/approot/shane/circle_wait.gif'><font face='Tahoma'><p></p>Please wait...</font></center>");
  iframe_downtime.document.write("<center><br><br><br><br><img src='https://bisdev.nal.com/approot/shane/circle_wait.gif'><font face='Tahoma'><p></p>Please wait...</font></center>");
  iframe_metplans.document.write("<center><br><br><br><br><img src='https://bisdev.nal.com/approot/shane/circle_wait.gif'><font face='Tahoma'><p></p>Please wait...</font></center>");
}

...

<A href="javascript:OnExecute(null, 'image1')">
<IMG id=image1 title="Refresh Graphs with selected parameter values." style="Z-INDEX: 16; LEFT: 745px; POSITION: absolute; TOP: 25px" onClick="pleaseWait();" tabIndex=14 src="ref_24.gif" border=0 name=image1 originalHeight="24" originalWidth="24" requests_list="12;14;15;16;17;18"></A>

...

</HTML>

Shane
 
Report This Post
Expert
posted Hide Post
Shane, once you put the BASE tag in your html, you then can take it out of all your explicit file references.
In your pleaseWait function, you can shorten the full url to just the image name.
You're sure the image is there, right?
You've tried just a simple html with the BASE tag and a simple img reference to display it, yes?
-s




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
<Shane>
posted
Susannah,

If you see in the code I posted, the first line in my pleaseWait function does reference the image by name only...

I'm positive the image is there because the explicit file reference works.

Shane
 
Report This Post
<Shane>
posted
I found something that will work...

in each line of my pleaseWait routine, I'll have to put the following line of code for each iframe...

iframe_efficiency.document.write("<html><head><base href='https://bisdev.nal.com/approot/shane/'></head><center><br><br><br><br><img src='circle_wait.gif'><font face=Tahoma size=2><br>[b]Please wait...[/b]</font></center></html>");

I wish I didn't have to name the URL on the server where the image resides. This is the only web app I've ever written that requires it to find images. Weird...

Shane
 
Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders