Child pages
  • Linking an Image

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Wiki Markup
This page tells you how to link an image to another page or URL, using the [Wiki Markup editor|Choosing Rich Text or Wiki Markup Editing as your Default]. 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|Attaching Files to a Page] and [displaying an image on a page|Displaying an Image].

To link an image to another page, you will embed the [image markup|Displaying an Image] inside the [linking markup|Linking to Pages Within the Same Space].

h2. 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 ||
| {nomarkup}[!dochome.gif!|Confluence Documentation Home]{nomarkup} | [!dochome.gif!|NYU & ITS Wikis Help Center] |

h2. 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.
(i) 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 ||
| {nomarkup}[!Displaying an Image^fish.gif!|DOC:]{nomarkup} | [!Displaying an Image^fish.gif!|DOC:] |


h2. Notes

* {include:_Note About CamelCase}

h5. 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|DEVNET:Atlassian Supported Plugins].
* [ImageMap Plugin|CONFEXT:ImageMap Plugin]
* [Other image and visualisation plugins|CONFEXT:Image and Visualisation]

Take me back to [Wikis Help Guide]