IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    Displaying images in webfocus
Go
New
Search
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
<pushpa_koneri>
Posted
I want to display images next to my messages in
webfocus, I tried coping the image in procedure and other folders but it did not allow me to copy
these images. Any idea as to how to display them
on the report.
Ne suggestions are welcome.

Thanks in advance!!!!

Push
 
Reply With QuoteEdit or Delete MessageReport This Post
Expert
Posted Hide Post
sure
you might want to go to focal point's home page and click on the list of articles; there are two articles having to do with cool ways to do image tricks;
basically, you're going to define a variable which is an alphabetic string containing the reference to the image tag; When you print that variable, focus considers it an alpha string, but your browser considers it a command, and goes and gets the image.
DEFINE FILE myfile
MYPICTURE/A200=
'[img src="http://servername/images/mypicture.gif';
...where your servername and directory structure you have to provide. You can use gifs or jpgs
you can add all sorts of img attritributes like HEIGHT and WIDTH; you ccan even define an image for every row in your data.
'[img src="http://.../images/' | MYVAR | '.gif">';
Get the idea?? you can even put [A] tags around it and make it a hotlink. (you understand that the [brackets are really left pointed brax, right? but this board won't display them.
 
Posts: 2630 | Location: Manhattan | Registered: October 28, 2003Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    Displaying images in webfocus

Copyright © 1996-2008 Information Builders, leaders in enterprise business intelligence.