Home → DobuDish → Display images
|
Hi, i have a problem with including images in my javahelp. The problem is, that the image was not shown in the help. I can onle see a "X" as a failure, that the source image wasnt found. Iam using dobudish-1.1.1, and i have create a folder image in their. Is that right? On which place or folder, i have to place my images? Code: <mediaobject><imageobject><imagedata fileref="images\bg.jpg" format="JPG"/></imageobject></mediaobject> regards |
|
Cim
| email
August 6 2009, 01:37 PM |
|
Hi Cim, Please see section 5.2 and 5.3 of the DobuDish manual. The old(er) way would be to create a directory "input/resource" and put your images into the resource directory. Then in your docbook source you reference it as: <mediaobject> <imageobject> <imagedata fileref="resource/cover.jpg" format="JPG"/> </imageobject> </mediaobject> The prefered new way would be to create a directory "input/copy_to_output". The contents of this directory (but not "copy_to_output" itself will then be copied to the output directory. So for instance if you have an image "input/copy_to_output/images/cover.jpg" you reference it as: <mediaobject> <imageobject> <imagedata fileref="images/cover.jpg" format="JPG"/> </imageobject> </mediaobject> Hope that helps. Have a great weekend, Torsten. |
|
Torsten Uhlmann
| email
2 days since original post |