Hello there,<br />
I'm developping a webapp like the WebAppExample available on Eclipse's web site and I'm facing an annoying issue with several image links on a report. In fact, I have a report displaying 3 images with links that allow navigation between other reports (32*32 jpegs).<br />
<br />
I'm using a <strong class='bbc'>RunAndRenderTask</strong> to export the report in PDF and there's no problem with these images, they're displaying well and the links are functionnals.<br />
For a HTML display of this report, i'm using two tasks, a <strong class='bbc'>RunTask</strong> to generate a rptDocument which I extract the TOC and a <strong class='bbc'>RenderTask</strong> to get the HTML code from this generated rptDocument. With this method, the 3 images are indeed in the HTML but they are'nt displayed.<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'><td>
<div style="width:0;">
<a target="_blank" href="url">
<img id="AUTOGENBOOKMARK_5_52596549-1c76-448a-8337-8ff290e4933d" style=" width: 32px;display: block;" alt="" src="/birt-viewer/getImage.do?__imageId=filee3d9d013d8d4a20e46.png">
</a>
</div>
</td></pre>
When I check the code with Firebug, the image is available and displayable but the div (with <strong class='bbc'>width:0;</strong>) is hidden. My render code is very simple and I don't know what I'm missing or doing wrong.<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>try {
//Open document
final IReportDocument document = this.birtEngine.openReportDocument(documentPath, null);
//Creating the task
renderTask = this.birtEngine.createRenderTask(document);
//Setting the locale and Timezone
renderTask.setLocale(locale);
renderTask.setTimeZone(tz);
//Creating the HTMLRenderOption
HTMLRenderOption renderOption = new HTMLRenderOption();
renderOption.setOutputFormat("html");
renderOption.setEmbeddable(true);
renderOption.setImageDirectory(imageDirectory);
renderOption.setBaseImageURL(baseImageUrl);
renderOption.setImageHandler(new HTMLServerImageHandler());
renderOption.setOutputStream(outputStream);
//Setting the renderOption
renderTask.setRenderOption(renderOption);
//Execute the task
renderTask.render();
} catch (Exception e)
{
//throw Exception
}</pre>
<br />
If anybody have an idea, please help me (yeah it sounds a little depressed but the issue drives me crazy

)<br />
Thank you in advance for any answers you could do.<br />
<br />
MattU