Bloody Blue Borders

A flurry of mails that I had not got to over the last few daze have sparked some blogging activity at last. Got a question, how to remove the blue borders that are appearing around my images in HTML output when I add a link to them. For example:

border1.jpg

No its not me as a kid but my 16 and 13 year old ... as kids. Dang they have grown in the last 4 years. The refrigerator is always empty, towels on the floor, water bill through the roof, my car has no gas in it, again - see you got me started now!

See that border, the almighty users are not gonna want that. Its fixable but we kept it a secret, Leslie will get it into the docs as soon as its possible but for now, read on.

In your template:
1. Double click or right click > Format Picture to get to the picture properties
2. In the Web tab put

<xsl:attribute name="border">0pt solid black</xsl:attribute>

3. Save and run et voila.

For the tech heads all we are doing is setting the border attribute on the image to 0pt effectively hiding it.
This is available from 10.1.3.3.2 onwards.

border2.jpg

See, my sons sans blue border, they still don't clear up after themselves thou. Publisher is not that good :0)

Comments:

I seems to be impossible to get an if-then-els econstruction combined with a summary this works but it will fail in when sum (current-group()/EM) = 0 (diveded by zero) So I need something like: 0 then EM div sum (current-group()/EM) end if?> no luck so far

Posted by Derk on August 18, 2009 at 01:08 AM MDT #

Derk Your comment has not come out correctly. Im not sure what the issue is? Tim

Posted by Tim Dexter on August 18, 2009 at 05:37 AM MDT #

I have a an image embedded using url reference, so I already have
url:{'http://host.com/images/logo.jpg'} in the Web (Alt Text) tab. How can I remove the bloody blue borders in this case?

Posted by Alex on November 29, 2012 at 10:33 AM MST #

Hi Alex

I think you will need to move over to the field method for images here, https://blogs.oracle.com/xmlpublisher/entry/how_to_improve_your_image ie not use a dummy image and combine it with the attribute approach above.
Tim

Posted by guest on November 29, 2012 at 11:08 AM 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