How to improve your image

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:

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 on May 11, 2009 at 02:47 PM MDT #

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 on November 09, 2009 at 02:42 AM MST #

Hi, I am using the URL to extract image.....i have an xml element named IMAGE_URL but when i add the following text url:{IMAGE_URL} to the alt-text box of the image field....nothing happens...its blank.....can someone please help...... i have tested url:{'http://www.freepicsupload.com/pics/phpRvyqfv-Autumn%20Leaves.jpg'} and it is working fine....

Posted by Sarfraz R Ramay on March 01, 2010 at 04:29 PM MST #

I have the same problem. When i hard code the image path into the image control Alt text tab, it's working fine. But when i'm trying to use element from the XML , the image comes out blank. can anyone assist with that?

Posted by MaorP on March 09, 2010 at 09:06 PM MST #

excellent writing .

Posted by Riley Angelilli on July 10, 2010 at 09:18 AM MDT #

Iwant to add parameter nested of the url , can you help me ?? .

Posted by JABARI on September 02, 2010 at 12:40 AM MDT #

I have the same problem. When i hard code the image path into the image control Alt text tab, it's working fine.

But when i'm trying to use element from the XML , the image comes out blank. Does anyone know what i am missing can anyone help me out ! !

Posted by Ajay Patil on November 24, 2011 at 04:32 PM MST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Follow bipublisher on Twitter Find Us on Facebook BI Publisher Youtube ChannelDiscussion Forum

Join our BI Publisher community to get the most and keep updated with the latest news, How-to, Solutions! Share your feedback and let us hear your voice @bipublisher on Twitter, on our official Facebook page, and Youtube!

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today