I’ve got the same issue.. simple fix:
go to
imagemapper.php
on line 763 to 774 just remove the line breaks (VC adds a nice for each new line..)
—-
<area
data-type="'.esc_attr($meta->type).'"
data-tooltip="'.esc_attr($meta->type == 'tooltip' ? $meta->tooltip_text : false ). '"
data-fill-color="'.esc_attr(str_replace('#', '', $color['fillColor'])).'"
data-fill-opacity="'.esc_attr($color['fillOpacity']).'"
data-stroke-color="'.esc_attr(str_replace('#', '', $color['strokeColor'])).'"
data-stroke-opacity="'.esc_attr($color['strokeOpacity']).'"
data-stroke-width="'.esc_attr($color['strokeWidth']).'"
data-mapkey="area-'.$id.'"
shape="poly" coords="'.esc_attr(get_post_meta($id, 'coords', true)).'"
href="'.esc_attr($link) .'"
title="'.(isset($meta->title_attribute) ? $meta->title_attribute : $title).'" />';
should be looking like this:
<area data-type="'.esc_attr($meta->type).'" data-tooltip="'.esc_attr($meta->type == 'tooltip' ? $meta->tooltip_text : false ). '" data-fill-color="'.esc_attr(str_replace('#', '', $color['fillColor'])).'" data-fill-opacity="'.esc_attr($color['fillOpacity']).'" data-stroke-color="'.esc_attr(str_replace('#', '', $color['strokeColor'])).'" data-stroke-opacity="'.esc_attr($color['strokeOpacity']).'" data-stroke-width="'.esc_attr($color['strokeWidth']).'" data-mapkey="area-'.$id.'" shape="poly" coords="'.esc_attr(get_post_meta($id, 'coords', true)).'" href="'.esc_attr($link) .'" title="'.(isset($meta->title_attribute) ? $meta->title_attribute : $title).'" />';
..bit more ugly but i works like a charm now
only thing is, that the images are scaled to 100% of the width of the column.. so i just put them in a div container with the original image width
hope it helps!
king regards
Benni
edit: for the “popup window” you might want to add at least
z-index:200
the the .imgmap-dialog
-(class)