Generate Image and map area

  • Thread starter Thread starter Karthik Seetharaman
  • Start date Start date
K

Karthik Seetharaman

I have to aspx pages default.aspx and imagegen.aspx

default.aspx has an image webcontrol whose imageurl property is set to
imagegen.aspx. imagegen.aspx generates a bitmap image and writes it to
outputstream and this image is then displayed in default.aspx

Now i would like to generate a map for this image so i can have
different regions of the image hyperlink to some urls. How to accomplish
this ?
 
Karthik Seetharaman said:
I have to aspx pages default.aspx and imagegen.aspx

default.aspx has an image webcontrol whose imageurl property is set to
imagegen.aspx. imagegen.aspx generates a bitmap image and writes it to
outputstream and this image is then displayed in default.aspx

Now i would like to generate a map for this image so i can have
different regions of the image hyperlink to some urls. How to accomplish
this ?

See http://www.w3.org/TR/html4/struct/objects.html#h-13.6.
 
Karthik Seetharaman said:
default.aspx has an image webcontrol whose imageurl property is set to
imagegen.aspx. imagegen.aspx generates a bitmap image and writes it to
outputstream and this image is then displayed in default.aspx

Now i would like to generate a map for this image so i can have
different regions of the image hyperlink to some urls. How to accomplish
this ?

You need to generate a client side image map in the HTML. Or you can take the
image click and take the coordinates and figure them out on the back end.

Or you could use a third party tool and make your image handling even easier:
http://www.atozed.com/intraweb/features/DynamicImages.iwp
 
Back
Top