Is it possible to create an image map for an image created in PHP using GD, seeing as it outputs an image and i think image map requires html?
dreamcatcher
7:48 am on Aug 21, 2006 (gmt 0)
Hi edjamaa,
Yes, thats correct. Its simply a case of working out your HTML co-ordinates. Try doing a search on Google for image maps.
dc
edjamaa
6:14 am on Aug 22, 2006 (gmt 0)
i found the solution! it was so simple thats why it was so hard to find:) i finaly figured out that if you have a php file eg makeimg.php that creates an image on the fly using GD, the header is usualy set to return an image type right? then if you want to have an image map on that image, it means you will need html tags. how am doing this is. create an html file and create an image with a link to the php file creating the image an voila... ofcourse the link must point to the file through the webserver eg [localhost...]