This documentation relates to an earlier version of Confluence.
View this page in the current documentation or visit the current documentation home.

Skip to end of metadata
Go to start of metadata

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

[!dochome.gif!|Confluence Documentation Home]

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.
    (info) 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

[!Displaying an Image^fish.gif!|DOC:]

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.
(warning) First read the warning on support of third-party plugins.

Take me back to Confluence User's Guide

  • No labels