Dear all,
I would like to display a jpg file after press the callout button in DCT.
I had write a ipl file in /iw-bin/preview.ipl but the callout window cannot show the jpg. It display a cross. And I saw the img src is
http://192.168.1.250/iw-bin/Sample.jpgThe jpg file is in the same folder as the preview.ipl file. Can any one give a help?
#! c:\iw-home/iw-perl/bin/perl
use TeamSite::CGI_lite;
use TeamSite::Config;
$|=1;
my $cgi = TeamSite::CGI_lite->new();
$cgi->parse_data();
print<Content-type: text/html
<html>
<head>
<title>Preview</title>
</head>
<body>
<img src="Sample.jpg" alt="Preview"/>
</body>
</html>
END
Or if I put the jpg file in the same workarea as the DCT in, then How to retrieve the jpg file in callout???
Thank you very much.