Click to See Complete Forum and Search --> : image map


byp
10-01-2002, 04:46 PM
hi,
how can I make a client-side image map using an image generated with the command:

Imagejpeg($this->im);

i did this:
<?php
print("<MAP NAME = 'mapa'>");
print("<AREA SHAPE = 'RECT' COORDS='0,0,10,10' HREF=destinaton_link'>");
print("</MAP>");
print("<IMG SRC='pm.php' USEMAP='#mapa'>");
?>

and in pm.php is the imagejpeg() command.
I want to know if there's a way to do that in the same file.
thanks
byp