Focal Point
Displaying images in webfocus

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

March 10, 2004, 02:09 PM
<pushpa_koneri>
Displaying images in webfocus
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
March 11, 2004, 06:16 PM
susannah
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.