Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
PDF rendering: Images are not displayed
locutuz
Hello everybody,
I've got a problem concernig an image when my report is rendered as PDF.
The datasource is an XML file, where the location of the image is stored in a relative subfolder named "image".
E.g:
<XMLElement ImageLocation="./image/myImage.jpg" />
With the designer I put an Image-element on the report and set the "Select image from"-option to URI.
In the URI field I have: row["ImageLocation"]
This works fine when the report is rendered as HTML. But when I switch the rendering to PDF, the image isn't displayed.
Instead there is the message "The resource of this report item is not reachable."
When I change the XML-attribute value to an absolute path like: ImageLocation="file:/C:\temp\image\MyImage.jpg"
The image is displayed in both reports (HTML and PDF). But I'd like to reference the image in a relative way.
So I tried the following settings:
ImageLocation="file:/.\image\MyImage.jpg"
ImageLocation="file:/image\MyImage.jpg"
ImageLocation="file:/\image\MyImage.jpg"
ImageLocation="file:/./image/MyImage.jpg"
ImageLocation="file://image/MyImage.jpg"
Unfortunately I did not get the expected result.
I hope anybody can help me.
Thanks in advance.
Regards,
Sebastian
Find more posts tagged with
Comments
There are no comments yet