How do you normally proceed besides asking someone to do your job for you ?An image map is an image and some XML. Collect that information and put it in the right spot. Easy.This does assume your users will have the pixel coordinates required for an image map.
That's incorrect. Instead:[php]my @imagemap = iwpt_dcr_list('dcr.content.image-map');[/php]Also, this is kindergarten: iwpt_output(" iwpt_output('ALT="'); ... iwpt_output("/>");Instead:[php]iwpt_output(qq());[/php]Kapish?
As Bo said, your code can be made much easiersomething like this would work as well:[php] my $usemap = "#blockdiagram"; my $areashape = "rect"; my $areacoords = "95,273,173,300"; my $areaalt = "This is an image map test"; my $mapname = "blockdiagram"; [/php]Build the HTML, replace the values with iw_value tags
how do I extract the shape, coords, and alt element... for each @imagemap