PROBLEM WITH IMAGE

Post here questions and problems related to editing and publishing DITA content.
Le Basque
Posts: 147
Joined: Sat Oct 19, 2013 8:21 am

PROBLEM WITH IMAGE

Post by Le Basque »

Hi,

I have 2 folder :
  • images
  • topic
Folder images contain file xx.png
Folder topic contain xx.dita

The topic xx.dita contain : <image href="../images/xx.png" />
With author Display image is OK
When i generate PDF with scenario display images is not ok : display a square

No error in log ?

thank you
Radu
Posts: 9446
Joined: Fri Jul 09, 2004 5:18 pm

Re: PROBLEM WITH IMAGE

Post by Radu »

Hi,

What Oxygen version are you using?

I tested a small example using Oxygen 16.1 (with the default bundled DITA OT 1.8 ) it it worked for me.
You should duplicate and edit the transformation scenario you are using, then in the Output tab you should set the Show console output->Always radio button. After running the transformation you should look in the console output, maybe you can find more details there.

There could be two possible problems:

1) Either the PNG cannot be read by the Apache FOP processor. So you could try saving it with different settings.
2) The DITA Open Toolkit might have problems because the image is in a folder outside of the folder where the published topic is located. For this you could try to edit the transformation scenario and set the fix.external.refs.com.oxygenxml to true.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Le Basque
Posts: 147
Joined: Sat Oct 19, 2013 8:21 am

Re: PROBLEM WITH IMAGE

Post by Le Basque »

I found the treatment was OK but I had the old display output, after removing the old version, the result is OK

thank you for help
Post Reply