This page tells you how to link an image to another page or URL. 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.

To add a link from an image on a page,
The syntax below will display the attached image called 'dochome.gif' and will also link the displayed 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]

To add a link from an image attached to another page,
The syntax below will display the image called 'dochome.gif', which is attached to the page called 'Displaying an image'. The syntax will also link the displayed image to the home page of the 'DOC' space. So when a user clicks the image, they will go to the linked page.

What you need to type

What you will get

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

(info) The colon in the example is used to specify the space key ('DOC'). The page name then defaults to the home page for the space.

RELATED TOPICS

Working with Links Overview
Displaying an Image
Thumbnail Macro

Take a look at some plugins too.
(warning) First read the warning on support of third-party plugins.

Take me back to Confluence 2.7 User Guide

  • No labels