What is the Wiki Notation for an attached image?
Asked by johan iojo:

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?  
[](https://community.atlassian.com/t5/Confluence-questions/What-is-the-Wiki-Notation-for-an-attached-image/qaq-p/175544?attachment-id=9190){#link_1186ea4bd6e66b}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/29346/1/image2016-5-11%2016%3A47%3A34.png){#display_1186ea4bd6e66b_0}  
[](https://community.atlassian.com/t5/Confluence-questions/What-is-the-Wiki-Notation-for-an-attached-image/qaq-p/175544?attachment-id=9191){#link_1186ea4bd6e66b_0}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/29346/2/image2016-5-11%2016%3A37%3A50.png){#display_1186ea4bd6e66b_2}  
[](https://community.atlassian.com/t5/Confluence-questions/What-is-the-Wiki-Notation-for-an-attached-image/qaq-p/175544?attachment-id=9192){#link_1186ea4bd6e66b_1}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/29346/3/image2016-5-13%2015%3A5%3A14.png){#display_1186ea4bd6e66b_4}  
[](https://community.atlassian.com/t5/Confluence-questions/What-is-the-Wiki-Notation-for-an-attached-image/qaq-p/175544?attachment-id=9193){#link_1186ea4bd6e66b_2}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/29346/4/image2016-5-12%2023%3A37%3A55.png){#display_1186ea4bd6e66b_6}  
[](https://community.atlassian.com/t5/Confluence-questions/What-is-the-Wiki-Notation-for-an-attached-image/qaq-p/175544?attachment-id=9194){#link_1186ea4bd6e66b_3}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/29346/5/image2016-5-11%2016%3A27%3A1.png){#display_1186ea4bd6e66b_8}


Answers:
author: Rafael Franco
body: 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  
[](https://community.atlassian.com/t5/Confluence-questions/What-is-the-Wiki-Notation-for-an-attached-image/qaq-p/175544?attachment-id=7602){#link_1186ea51bd2608}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/29347/1/config.png){#display_1186ea51bd2608_0}

comments: author: johan iojo
body: 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...


author: johan iojo
body: 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?


author: Laurent Corbi?re
body: Hi,

PageName\^icon.png

Ex:

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

Regards  
[](https://community.atlassian.com/t5/Confluence-questions/What-is-the-Wiki-Notation-for-an-attached-image/qaq-p/175544?attachment-id=12004){#link_1186ea62a6c122}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/29363/1/image2016-5-12%2015%3A18%3A49.png){#display_1186ea62a6c122_0}

comments: author: johan iojo
body: Thank you for this response, but it is stil not working:

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


author: Laurent Corbi?re
body: 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.


author: johan iojo
body: 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


author: Laurent Corbi?re
body: 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](/html/@C495B4504065515364EB1894F812B34C/images/emoticons/sad.png "sad")


author: johan iojo
body: image (and page containing that image) and page containing the Lozenge macro reside in the same space...


author: johan iojo
body: 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?

comments: author: Rafael Franco
body: 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


author: johan iojo
body: 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


author: Rafael Franco
body: Could you try to remove everything after the selected.png and try again?


author: johan iojo
body: This gives this result:

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

BTW: the 'selected.png' looks like this ![](https://vlaamsenergieagentschap.atlassian.net/wiki/download/thumbnails/2326648/selected.png?version=1&modificationDate=1461855369408&api=v2)


author: Rafael Franco
body: Seems I don't have access to visualise image


author: johan iojo
body: Is there a limitation on the format of the image (jpg, png, ...)?

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


author: Rafael Franco
body: 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?


author: johan iojo
body: Then i get this:

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


author: johan iojo
body: should the image reside on the SAME page as the Lozenge?


author: johan iojo
body: BTW: I'm using this version of Conluence:

### Confluence 1000.73.0 {#toc-hId-1426057064}


author: johan iojo
body: Or does the size of the image matter?


author: Rafael Franco
body: Johan, could you please open a request in our product support portal please?

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

Thanks,

Rafael


Tags: addon-com.adaptavist.confluence.contentformat