Page 1 of 1

"Image not found" error on PDF transformation

Posted: Sat Nov 30, 2019 3:19 am
by Carl
I have discovered a curious glitch: when I PDF my entire project (from the DITA Maps Manager), the output contains all my images, as expected. But when I PDF individual topics, sometimes the image appears, other times it is excluded! When excluded, I get errors like this:

Code: Select all

System ID: /home/clum/repos/docs-cust/PHEMI_Central/derived_data/derived_metrics_metadata_tab.dita
Scenario: DITA Map PDF - based on XSL-FO - Copy
Input file: /home/clum/repos/docs-cust/PHEMI_Central/derived_data/derived_metrics_metadata_tab.dita
Engine name: FOP
Severity: error
Description: Image not found. URI: file:/tmp/OxygenXMLTemp-clum/ditaTemporaryOutputDir-1575072427073/t1/t2/t3/t4/oxy_ex-1/_images/derived_data/columnar_high_level_overview.png. (See position 16:590)
Why are these images "not found"? They are in the same directory as other images that are "found". And why are they present when I PDF the entire manual, but skipped when I PDF a single topic?

I have tried removing my "OxygenXMLTemp-clum" directory and letting Oxygen recreate it. I also did a full PDF and verified that the topic shows my graphics. But when I tried PDF'ing that single topic again, the image is missing and I get the "image not found" error.

Re: "Image not found" error on PDF transformation

Posted: Tue Dec 03, 2019 3:37 pm
by Radu
Hi Carl,

Sorry but I do not have enough information to know the cause.
If you can come up with a small sample DITA project in which this problem can be reproduced, please send it to us (support@oxygenxml.com) along with detailed steps about how to reproduce the problem on our side.

Regards,
Radu

Re: "Image not found" error on PDF transformation

Posted: Fri May 13, 2022 2:19 am
by mmkarimi
I had similar issue and I could solve it by selecting "DITA Map PDF - based on HTML5 & CSS" transformation scenario

Re: "Image not found" error on PDF transformation

Posted: Fri May 13, 2022 2:09 pm
by chrispitude
Hi Carl,

What version of Oxygen are you using?

Is the image file at or below the directory level of the .dita file you are transforming? Try setting the fix.external.refs.com.oxygenxml parameter to true in your XSL-FO transform and see if that resolves the issue.