Page 1 of 1
DITA MAP PDF output image missing
Posted: Thu Aug 04, 2016 6:15 pm
by anne_siemens
I have been trying out the various output formats on a small set of dita files with one ditamap.
The Webhelp Resonsive, Classic, Mobile versions all look ok but the PDF output has a missing image, I'm not sure why.
I tried the PDF transformation twice and both times the image file seems to have vanished from the transformed topic file.
Re: DITA MAP PDF output image missing
Posted: Fri Aug 05, 2016 12:45 pm
by radu_pisoi
Hi,
I suppose you have an image reference in a topic content. Could you tell us what type of image you are using (PNG, JPEG)?
Re: DITA MAP PDF output image missing
Posted: Fri Aug 05, 2016 4:34 pm
by anne_siemens
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN" "task.dtd">
<task id="task_yaw_system">
<title>Yaw System</title>
<shortdesc>
</shortdesc>
<taskbody>
<context>
<p>
<image href="../images/Sketch_SCADA_Overview.jpg"></image>
</p>
</context>
<steps>
<step>
<cmd>Where is the picture?</cmd>
<info><fig>
<image href="../images/wppm_maintain.jpg" id="image_vcp_zv5_tw"/>
</fig></info>
</step>
</steps>
</taskbody>
</task>
I tried testing the PDF by just generating a PDF from a single DITA file. It shows in the author view, it's visible in Wehbelp but missing in PDF.
It's jpg. Is that a problem? I can convert the images to PNG. I've been trying out a few things, like copying the folder structure from your flowers sample and making sure my topic, image, out folders have a similar structure, no luck as yet.
I really, really would appreciate your help; I have to be able to produce clean PDFs with images intact.
BTW, the responsive webhelp output is very elegant. My team is very happy with it.
Re: DITA MAP PDF output image missing
Posted: Mon Aug 08, 2016 12:17 pm
by radu_pisoi
Hi,
Yes, it seems that the images are not included in the PDF file when you transform a single topic to PDF.
You can fix this problem by setting the 'fix.external.refs.com.oxygenxml' to true. Please note that this parameter is available only when you run the transformation from oXygen.
Re: DITA MAP PDF output image missing
Posted: Mon Aug 08, 2016 3:06 pm
by anne_siemens
I tried that but the image still does not show up in PDF.
Re: DITA MAP PDF output image missing
Posted: Wed Aug 10, 2016 12:33 pm
by anne_siemens
Resolved by Tech Support.
Tasks steps require some text content in order for the image within a step to show in PDF.
Thanks for the explanation

.
Re: DITA MAP PDF output image missing
Posted: Mon Dec 23, 2019 8:12 pm
by jdaniel0906
I am having this issue. This response says that tech support resolved it. I am interested in the resolution. Is it an Oxygen issue? I do not have the problem with all images, just certain ones (constantly). However, I use WebWorks for PDF rendering.
Re: DITA MAP PDF output image missing
Posted: Mon Dec 30, 2019 11:43 am
by Costin
Hello,
I have just tested and the images appear in the PDF output even when publishing a single topic. I used the latest version of oXygen XML Editor and the predefined "DITA to PDF" transformation scenario. There does not seem to be any issue with oXygen.
Just make sure that you set the "fix.external.refs.com.oxygenxml" parameter to "yes", as advised by Radu Pisoi in a previous reply on this thread.
Also, like he mentioned, that parameter works only when publishing from the oXygen GUI software.
If you could still not view the images in the output, even after you do that, you could try using another PDF reader application.
As a last resort, please send us a sample topic and image that you could use to reproduce the issue, for further investigation.
Best Regards,
Costin