What is the Wiki Notation for an attached image?

johan iojo
Contributor
May 11, 2016

In the "Lozenge' macro, you can specify an icon to show.

However, you need to enter the Wiki Notation for an attached image

How do I do this?

3 answers

1 vote
Rafael Franco
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 11, 2016

Hi Johan,

My name is Rafael Franco and I'm the Tech Lead of the Product Team here at Adaptavist. First of all, thanks for your interest in Content Formatting for Confluence.

Regarding your question, you need to attach an image to the page, get the link for that image and place it in the "icon" parameter.

I've attached a screenshot that should demonstrate that.

config.png

Let me know if you have any additional questions.

Regards,

Rafael

johan iojo
Contributor
May 11, 2016

I tried several times to copy the address of an image in my Image Library, but the only thing i get is the Lozenge displaying simply the address of the image, not the image itself.

PS. the image is a png format...

johan iojo
Contributor
May 11, 2016

You're are saying: 'get the link for that image'

 

How do I do this? I tried copying the link address of the image and then pasting this address in the Icon field, but this only display the address, not the image...

What format does the image need to have?

0 votes
Laurent Corbière
Contributor
May 12, 2016

Hi,

PageName^icon.png

Ex:

image2016-5-12 15:18:49.png

 

Regards

johan iojo
Contributor
May 12, 2016

Thank you for this response, but it is stil not working:

image2016-5-12 23:37:55.png

Laurent Corbière
Contributor
May 13, 2016

Your image have to be attached to a Confluence page. Then don't use the url of the page. Use the name of the page.

johan iojo
Contributor
May 13, 2016

Still getting the same result:

image2016-5-13 15:5:14.png

Page containing the icon: Image gallery

Name of the icon: winst onbekend.png

Laurent Corbière
Contributor
May 13, 2016

If your image is attached on a page in a different space, you have to put the spacekey before:

SpaceKey:Image gallery^winst_onbekend.png

I hope that it'll work because I don't have any solution after this one sad

johan iojo
Contributor
May 13, 2016

image (and page containing that image) and page containing the Lozenge macro reside in the same space...

0 votes
johan iojo
Contributor
May 11, 2016

2 questions:

 

  • if the image resides on a local disk, is it still visible to people having no access to that disk?
  • I've put all the images in an Image Library within Confluence. Can I link to an image in this Library? How?

 

Rafael Franco
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 11, 2016

In order to use an image in Confluence, you always need to attach that image in Confluence

If you upload all the images, yes you can link it

johan iojo
Contributor
May 11, 2016

Nope, it doesn't work: although I'm using a link from an image in the image library in Confluence, 

when i paste the link, the Lozenge shows the link:

image2016-5-11 16:27:1.png

Rafael Franco
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 11, 2016

Could you try to remove everything after the selected.png and try again?

johan iojo
Contributor
May 11, 2016

This gives this result:

image2016-5-11 16:37:50.png

 

BTW: the 'selected.png' looks like this 

Rafael Franco
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 11, 2016

Seems I don't have access to visualise image

johan iojo
Contributor
May 11, 2016

Is there a limitation on the format of the image (jpg, png, ...)?

Or should i really use an 'icon' format: ico ?

Rafael Franco
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 11, 2016

Should be fine either way. Could you please try with this image? http://www.gnomefr.org/img/48x48/accessibility-directory.png

Save it to your machine, attach it to the page in confluence, get the link reference to it and then add it to the lozenge icon?

johan iojo
Contributor
May 11, 2016

Then i get this:

image2016-5-11 16:47:34.png

johan iojo
Contributor
May 11, 2016

should the image reside on the SAME page as the Lozenge?

johan iojo
Contributor
May 11, 2016

BTW: I'm using this version of Conluence: 

Confluence 1000.73.0

johan iojo
Contributor
May 11, 2016

Or does the size of the image matter?

Rafael Franco
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 11, 2016

Johan, could you please open a request in our product support portal please?

 

https://productsupport.adaptavist.com/servicedesk/customer/portal/5

Thanks,

Rafael

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events