Expand my Community achievements bar.

Problem with image area maps not showing correctly on publish

Avatar

Level 2
Hi Everyone-
I'm struggling to get area maps to work on our aem authoring instance. I've created area maps on the image in the asset manager and been able to verify that the image can publish successfully without errors. When placed in an image component and then published the page it acts as if the image has no area maps. However if you view the source of the image on the publish instance I can see there is clearly an image map:
<div class="image parbase">
 
    <img src="/publish/content/NVEnergy/en/test-2/_jcr_content/content/columncontrol/col-cntrl-1/image.img.jpg/1493954695111.jpg" class="cq-dd-image" data-emptytext="Image" usemap="#map-1494374952164">
 
 
<map name="map-1494374952164">
    <area shape="circle" coords="889,438,44">
 
    <area shape="circle" coords="880,677,44">
 
    <area shape="circle" coords="236,601,44">
 
    <area shape="circle" coords="290,781,44">
 
    <area shape="circle" coords="893,1209,44">
 
    <area shape="circle" coords="486,696,44">
 
    <area shape="circle" coords="634,1294,44">
 
    <area shape="circle" coords="408,227,44" href="https://forums.adobe.com/publish/content/NVEnergy/en/tooltips/residential_southern/1----residential-southern-nevada-bill.html" target="_top">
 
    
 
    <area shape="circle" coords="890,280,45" href="#" target="_self">
</map>
</div>
 
 
 
I can see that in the edit mode of the page there are links associated to the image.  (see screen shots) I'm not sure what is the cause for it failing like this. Have you seen anything like this before? 
Item to note is that we do not have the fix pack for the dynamic media installed on this instance. Is it necessary? I also don't have any code accessing or using the publish rewriter. 
3 Replies

Avatar

Level 9

Hi carolyn,

Sounds like an issue with context root. Can you run aem in default root context "/" instead of "/publish" ?

Thanks,

Avatar

Level 2

Hi Sean-

Thanks for the help. I did change and the result did not change. Any other places I can look to adjust? Should I install the hot fix for AEM 6.2? 

Avatar

Level 9

Hi carolyn,

If site accessible externally please provide the link otherwise

Can you save the page rendered in browser to local in both author & publish. Then attach that zip file.

Thanks,