Focal Point
Image not getting displayed

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/3321093413

January 19, 2009, 01:21 AM
Vasantha kumar
Image not getting displayed
Hi all,

I have an issue here. When i run the HTML from MRE, i am able to see the attached Image file (file is in .jpg format).

But when i run the same HTML from the UNIX server location (Data server), the image is not getting displayed at all. Confused

May i have any of your help in this.

Thanks in advance Smiler


Vasantha kumar
7.1.4/ Unix / OF:EXL2K
January 19, 2009, 03:09 AM
Tony A
Vasantha,

There are many topics covering this already. You have to remember that, for HTML output, the file has to be available via a fully formed URL. So right click, view properties and identify to yourself why the image is not available.

Also perform a search against the forum using the search link top right. Try searching on something like "display image".

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 
January 19, 2009, 08:58 AM
PBrightwell
When you "run the HTML from MRE" are you on a development server? If so, you not only have to make sure the image is on your production server, but change the path to point to it.


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
January 19, 2009, 04:18 PM
Waz
As Tony said, a fully formed URL.

Could your image be in MRE ?
If so you either have to be logged into MRE or make the image available on a Web Server.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

January 20, 2009, 08:50 AM
PBrightwell
You can put a "fully formed url" into your stylesheet or you can define an image on the server and reference it. If he is doing the define (as below) the image needs to be on the same server and the developer may need to adjust the path.

 DEFINE MYFILE
LOGO/A200='<IMG SRC="/ibi_html/images/xxlogo.jpg" height="100" width="400">';
END
TABLE MYFILE
HEADING
"<LOGO"
END

VERSUS
TYPE=HEADING,IMAGE=http://webfocus.xx.com/ibi_html/images/xxlogo90.gif,
$
 



Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes