imagemap scale issue
Post here questions and problems related to editing and publishing DITA content.
imagemap scale issue
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>
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>
-
- Posts: 402
- Joined: Mon May 09, 2016 9:37 am
Re: imagemap scale issue
Post by sorin_carbunaru »
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
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)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service