History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: GLIFFY-461
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Shannon Krebs
Reporter: Debi Kohlhardt
Votes: 3
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Gliffy Product

Edit/Remove Border to Gliffy Diagram in Page

Created: 18/Dec/07 09:24 AM   Updated: 09/Oct/08 12:58 PM
Component/s: Confluence Plugin Integration, Core - Image Transcoding
Affects Version/s: None
Fix Version/s: Gliffy Plugin for Confluence - 1.4.1
Security Level: Anyone may view

File Attachments: None
Image Attachments:

1. 10401_Picture+1.jpeg
(9 kb)

2. No border.jpg
(41 kb)


 Description  « Hide
how do i get rid of the border around the image of the diagram on
the wiki page?

We would like to remove the black line surrounding the diagram so it
blends into the page better. I noticed in the html generated by the
gliffy plugin it puts "border=1"... I would like a setting or
parameter that I could override to set it to 0.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Michael Keirnan - 06/Feb/08 12:35 PM
I agree. To my mind the border should be black and the attribute to {gliffy} should be border=true or border=false.

In the diagram editor itself, the property sheet for the diagram could have some border properties, minimally
on/off, thickness, and color. The advantage of putting border properties in the diagram itself is that they would also apply
to exported versions of the diagram.


Chris Kohlhardt - 06/Feb/08 12:46 PM
In The Gliffy Plugin for Confluence, the border is actually in the HTML itself, which is generated by the {gliffy} macro. It does seem to make sense to address this as a Macro option.

You'll notice that the actual image does not contain a border.

An alternative solution would be to have a global setting on the border.... thoughts on that? It would then effect the border on ALL diagrams in the Confluence install.


Samuel Neff - 29/Feb/08 03:22 PM
Personally I'd be fine with having it globally off but ideally it should be an option on the {gliffy} macro.

Dennis King - 29/Feb/08 03:29 PM
I would say that a global setting would be only incrementally better.

Yet another option would be never to have a border. The image has a canvas, and so you could have the option of creating one in the image, along with the size properties. That could then be used to generate the HTML or could be added to the image. In any event, per-image is better than global.


Shannon Krebs - 23/Jun/08 01:40 AM
Something I've been thinking about while looking at some other issues, if we make the border configurable in the gliffy macro we may need to include the params in all of the actions that display diagrams. Users could think they are looking at a different image if the border suddenly changes when they click on the view large diagram for example.

Chris Kohlhardt - 24/Jun/08 01:17 PM
Good point Shannon.

I guess I feel like specifying the border color makes this more complex than it should be. I'd prefer to keep this simple for now, and simply having yes/no for border. The default should be 'yes'.

-chris


Debi Kohlhardt - 24/Jun/08 02:01 PM
This diagram was posted in the Sandbox of our test Confluence page. Note the fact there is no boarder.

Shannon Krebs - 05/Jul/08 09:03 PM
I've added the border as an optional parameter to the gliffy macro. The border is now applied on a surrounding div to make it a bit more consistant. The example given in this issue where there is no border seems to be caused by confluence css styles (at least in 2.8).