You can display an image from either a file attached to the Confluence page, or from another location.
This page shows you how to display an image using Confluence Notation, also known as Wiki Markup. To follow the instructions below, you need to edit in 'Wiki Markup' mode. Put an exclamation point before and after the image link.
Instead of Wiki Markup, you can use the 'Insert Image' icon. This behaves in a similar way for both the Wiki Markup and the Rich Text editor, as described in Inserting an image. |
You need to know the URL from which the image can be linked.
What you need to type |
What you will get |
|---|---|
!http://www.atlassian.com/images/confluence_feature.gif! |
|
What you need to type |
What you will get |
|---|---|
|
|
What you need to type |
What you will get |
|---|---|
|
|
Where 'Space Attachments Directory' is the name of the page containing the attachment.
Usage example
What if you want to upload an image only once, but display it on many pages?
!SPACE:my page^myimg.jpg! |
What you need to type |
What you will get |
|---|---|
|
|
Use the HTML title attribute to specify text which is displayed when the pointer is hovering over an image. Use the alt attribute to specify alternative text to be included in the HTML code.
What you need to type |
What you will get |
|---|---|
|
|
|
|
For any image, you can also specify attributes of the HTML image tag as a comma-separated list of name=value pairs. Available image tags include:
Linking an image to another page or URL
Inserting Images in the Rich Text Editor
Attaching Files to a Page
Image File Formats
Displaying a Thumbnail Image
Gallery Macro
Take a look at some plugins too.
First read the warning on support of third-party plugins.
Take me back to Confluence User's Guide