Nope, it's not a new feature of publisher, sorry, we can't help with your persona but we can help with your template images.
Most of you know about the 'dummy' image approach to putting images/pictures into your templates. You insert a dummy image into the template and then in the properties dialog for the image navigate to the Web tab and use the following command:
url:{檀ttp://www.oracle.com/images/ora_logo.gif筑This works great as long as the dummy image dimensions match or are of the same aspect. If not then you are going to get some interesting images at best. Not the best way to introduce your company to your clients with a whacky image on your invoices that looks only vaguely like your logo.
You have another option, that is to add a field in the template that will call the image in directly. Its a piece of XSL rather than a friendlier publisher expression but when needs must. Its fairly straight forward but must be embedded inside a formfield.
<fo:external-graphic src="http://oracleimg.com/admin/images/ocom/hp/oralogo_small.gif"/>
There is a width and height attribute that you can set if you wish but leaving them out will result in the image being brought in as is.
This will pull the graphic in via a URI, in this case a URL. Remember if you're pulling via a URL then ensure you take care of any proxy settings required to get out of your intranet.
Comments (2)
I am new to BI Publisher and I was wonderng if you can help me...
I need to show a report with a logo image that changes based on the user logged in to our site. I am usining oracle APEX and BI publisher to create the rtf file which I then load into oracle apex for printing to pdf. We have image locations stored in our database but the images are stored on the server and not in the database as BLOBs.
Any way to show these images dynamically by getting the image name from the report query?
Posted by hindy | May 11, 2009 8:47 PM
Posted on May 11, 2009 20:47
i have to produce documents where the image will change with the data selected. i can hard code the uri using both the image place holder and the methods. but i can't get either method to work when using the uri in my xml. do you have any suggestions? Thanks
Posted by par | November 9, 2009 10:42 AM
Posted on November 9, 2009 10:42