Displaying a Link on A Web PAge with image/png header.
- From: jeevan.ingale@xxxxxxxxx (Jeevs)
- Date: Wed, 26 Sep 2007 05:55:10 -0700
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(\@data)->$graph_format();
binmode STDOUT;
print $img_obj;
....
....
But now i need to give a link to the user to move to other page on the
same page where the graph is displayed. This is tedious for me since I
am not supposed to write to the server. Otherwise i could have written
a image file and instead of using image headers, I wud have used the
text/html header and the img tag to display the graph.
Please guide me how can I provide the link to the another page.
.
- Follow-Ups:
- Re: Displaying a Link on A Web PAge with image/png header.
- From: Randal L. Schwartz
- Re: Displaying a Link on A Web PAge with image/png header.
- From: Rob Dixon
- Re: Displaying a Link on A Web PAge with image/png header.
- From: Dr.Ruud
- Re: Displaying a Link on A Web PAge with image/png header.
- From: Matthew Whipple
- Re: Displaying a Link on A Web PAge with image/png header.
- Prev by Date: win32 serial port
- Next by Date: Re: need help parsing file for output
- Previous by thread: win32 serial port
- Next by thread: Re: Displaying a Link on A Web PAge with image/png header.
- Index(es):
Relevant Pages
|
|