How to create a border around an image in a Wiki Knowledge Article

brian_hoffman
Kilo Explorer

I can't seem to get a border to show up around an image when using a Wiki KA.   I have poked at this in our Eureka instance for a while and I don't think it's anything I'm doing wrong.   When uploading an image, I'm presented with some options, one of which is "Border thickness", but no matter what I put in there no border appears.   When using HTML, I get a similar image upload box with the same "Border thickness" option, but when I put a number in there it actually shows up with a border.

My guess is whatever code that is happening in the background when "Border thickness" is chosen is only recognized in HTML and there's no Wiki equivalent currently written.   If that is the case, is there some argument I can pass to "[[Image:<imagename.jpg>]]" that will do the same thing?

1 ACCEPTED SOLUTION

HugoFirst
Kilo Sage

Here's one approach, though it may not be suitable for you. Make a table with one row and one column and place your image inside that cell.   The table will provide the border.


avatar_hand.gif

View solution in original post

2 REPLIES 2

HugoFirst
Kilo Sage

Here's one approach, though it may not be suitable for you. Make a table with one row and one column and place your image inside that cell.   The table will provide the border.


avatar_hand.gif

That's funny you should mention that, because that's one of the ideas that I had for solving this, but I couldn't get it to work.   After reading your reply and revisiting it, though, I was able to make it work!   Not sure if this is the way you had in mind to do it, but it worked for me:


{| class="wikitable" Border="1" style="border-collapse:collapse; width: 600px"


|-


|[[Image:image.jpg]]


|}



Thanks for the help!