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



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(\@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.

Have a separate URL for the text page, which html contains an img tag
with src=the-graph-URL.

--
Affijn, Ruud

"Gewoon is een tijger."

.



Relevant Pages