The inclusion of pictures can be delicate and sometimes problematic. Although several syntaxes exist we recommend the below.
<!-- placeholder for the XML publisher project png --> <mediaobject> <imageobject> <objectinfo> <graphic align="center"/> </objectinfo> <imagedata fileref="../common/images/Eclipse Create XML publisher project.png" depth="300" width="400" valign="middle" align="center"/> </imageobject> <caption>Create the XMLpublisher project</caption> </mediaobject>
The fileref attribute is the relative path to the image file. This applies to XML sources for epub and pdf publishing. With webhelp the path is like fileref="../common/images/../your-image.png"
The caption is optional