This page tells you how to link an image to another page or URL, using the Wiki Markup editor. When the user clicks the image, they will jump to the linked page. You can also read the full instructions on attaching a file to a page and displaying an image on a page.
To link an image to another page, you will embed the image markup inside the linking markup.
Adding a Link from an Image on a Page
The syntax below will:
- Display the image called 'dochome.gif'. The image is attached to this page.
- Link the image to the 'Confluence Documentation Home' page. So when a user clicks the image, they will go to the linked page.
What you need to type |
What you will get |
---|---|
Unknown macro: {nomarkup} [!dochome.gif!] |
Adding a Link from an Image attached to Another Page
The syntax below will:
- Display the image called 'fish.gif'. The image is attached to a page called 'Displaying an image'.
- Link the image to the home page of the 'DOC' space.
To link to the home page of a space, use the space key followed by a colon '
:
'. In the example below, we use 'DOC:
'.
What you need to type |
What you will get |
---|---|
Notes
- CamelCase affecting links to attachments. If you have CamelCase enabled, you may see an error when using mixed case (capital and lower case letters compounded together without spaces LikeThis) in your attachment file name.
The error looks like this:
Unable to render embedded object: File (NameOfAttachment.gif) not found.
To fix this problem, you can change your attachment file name or disable CamelCase.
RELATED TOPICS
[Working with Links]
Displaying an Image
Displaying a Thumbnail Image
Take a look at some plugins too.
First read the warning on [support of third-party plugins].
- [ImageMap Plugin]
- [Other image and visualisation plugins]
Take me back to Wikis Help Guide