Re: Displaying a Link on A Web PAge with image/png header.

2007-09-28 Thread jeevs
Thanks all for the replies... Mathew I will look into the suggestion Rob the data is also dynamically generated before i call the subroutine which displays the graph. Dr.Rudd your suggestion works well but I dont want to make another script for graph generation. My web page handles all the

Re: Displaying a Link on A Web PAge with image/png header.

2007-09-27 Thread Randal L. Schwartz
> "jeevs" == jeevs <[EMAIL PROTECTED]> writes: jeevs> Hi Forum!!! jeevs> I want to plot a graph on a web page. I am using the GD::Graph jeevs> module and can successfully plot the graph. The graph is displayed on jeevs> the web page with the following code. CGI questions are better asked

Re: Displaying a Link on A Web PAge with image/png header.

2007-09-26 Thread Dr.Ruud
Rob Dixon schreef: > If you're > unable to write to the HTTP server machine then you're unable to > change the contents of any web page at all. The webpages behind the URLs can be created fully dynamically, so you actually don't need write access to the file system of the HTTP server. An URL lik

Re: Displaying a Link on A Web PAge with image/png header.

2007-09-26 Thread Rob Dixon
jeevs wrote: Hi Forum!!! I want to plot a graph on a web page. I am using the GD::Graph module and can successfully plot the graph. The graph is displayed on the web page with the following code. ... ... print "content-type: image/$graph_format\n\n"; my $img_obj = $graph->plot(

Re: Displaying a Link on A Web PAge with image/png header.

2007-09-26 Thread Dr.Ruud
jeevs schreef: > I want to plot a graph on a web page. I am using the GD::Graph > module and can successfully plot the graph. The graph is displayed on > the web page with the following code. > > print "content-type: image/$graph_format\n\n"; >my $img_obj = $graph->plot([EMAIL PR

Re: Displaying a Link on A Web PAge with image/png header.

2007-09-26 Thread Matthew Whipple
You probably wouldn't want to add the link to an image/png since that probably shouldn't work as it's not something png's should be doing. You'll want to output an html page and embed the image directly within the page source if you can't output a temporary file. Look into the "data:" URI type wh