Copy link to clipboard
Copied
When I use DITA > Generate Output > Html to generate HTML from a DITA file containing an imported image reference the resulting output directory contains an image directory with image files but the html actually points to the source's image directory two directories up. For example the url should be ./images/26.gif and not ../../images/26.gif.
Where is this controled?
Copy link to clipboard
Copied
Moving the location of the ditamap two directories up solves the problem. It doesn't answer the question as to where this behavior is controlled though.
Copy link to clipboard
Copied
Hi Rick...
The Generate Output command, basically just passes the map file off to the Open Toolkit for processing. I don't think that any processing is done by FM (or the DITA plugin) at all. What version of the OT are you using? I assume that the image is referenced correctly when viewed in FM? In general, your map should be at the top level of the fiels in the scope. Does your map have any references to files that go up a level ("../")?
...scott
Copy link to clipboard
Copied
I'm using DITA-OT1.4.3 and yes, I think the correct answer is the map belongs at the top level. I was a little quick to post the question. I discovered the answer shortly after. Thanks for the reply.