imagemap scale issue

SD-Dave
Posts: 6

imagemap scale issue

Fri Jun 09, 2017 12:37 am

I have been placing images in my DITA topics, and have been using the Scale parameter to control the displayed image size (WebHelp responsive transform). I added an imagemap element, so that I could put links in different areas of the image. That works, but now I have no control over the scaling of the image in the output. I see that there are 2 scale parameters available, one on the image element and one on the imagemap element. I tried both, but neither has any effect.

Any thoughts?

Example XML:
<imagemap id="imagemap_bpw_xtz_d1b" scale="200">
<image href="../Images/qsr.jpg" scale="200" id="image_elc_p1x_jz" align="center"/>
<area>
<shape>rect</shape>
<coords>1, 6, 347, 60</coords>
<xref href="c_about-QSR.dita#concept_o43_4c1_21b" format="dita">About the QSR</xref>
</area>
</imagemap>
sorin_carbunaru
Site Admin
Posts: 111

Re: imagemap scale issue

Fri Jun 09, 2017 8:49 am

Hello Dave,

This is a bug in the publishing engine that oXygen uses for creating the output, DITA-OT (see https://github.com/dita-ot/dita-ot/issues/2234). I also added an issue on our side (WH-1423, for reference purposes). Maybe we can fix this problem on our side sooner.

One option that you have now is to scale the images before creating the image maps using MS Paint, Photoshop and so on.

Best regards,
Sorin Carbunaru
oXygen XML

Return to “DITA (Editing and Publishing DITA Content)”

Who is online

Users browsing this forum: No registered users and 3 guests