This page tells you how to add a link pointing to a file attached to your Confluence page. A link, or hyperlink, is a word or phrase which, when clicked, will open the attachment.
Quick guide to linking to an attachment
- Click the link icon on the editor toolbar.
- Select one of these options:
- 'Search' – Search for and link to any image or file attached to any page in your Confluence site.
- 'Attachments' – Link to an image or file attached to the current Confluence page.
The rest of this page gives more details of the above procedure and additional options.
On this page:
Adding a Link via the Link Browser
The 'link browser' is the 'Insert Link' or 'Edit Link' window that pops up when you click the 'Insert Link' icon
in the editor toolbar.Wiki Markup mode and Rich Text Editor
You can click the 'Insert Link' icon in either Wiki Markup mode or the Rich Text Editor. The functionality described below is basically the same for both editing modes.
To link to a file or image that is attached to the current page,
- Edit the page where you want to insert the link.
- Click the link icon on the toolbar. This will open the 'Insert Link' window.
- Select the 'Attachments' option in the left-hand panel. You will see a list of all files attached to the page. Now you can:
- Click a file name to select the image or file that you want to link to, if it is already attached to the page.
- Or attach a new image or file to the page by clicking 'Browse' and uploading your file.
- Enter the 'Link Text'. These are the words that will appear as the hyperlink on the wiki page.
- Click 'Insert' to add the link.
To link to a file or image that is attached to any Confluence page,
- Edit the page where you want to insert the link.
- Click the link icon on the toolbar. This will open the 'Insert Link' window.
- Select the 'Search' option in the left-hand panel.
- Start typing the name of the file or image. Confluence will offer the autocomplete options in a dropdown menu. If the file or image does not appear in the autocomplete options, click 'Search'.
- Click the file or image in the autocomplete results or the search results.
- Click 'Insert' to add the link.
Screenshot: The link browser, showing autocomplete in the 'Search' option
Adding a Link via Autocomplete
You can use the autocomplete functionality to link to a file or image attached to any Confluence page.
Quick summary: Use '[' or Ctrl+Shift+K to see a list of suggested links.
For the details, see the page about autocomplete in the Rich Text Editor.
RELATED TOPICS
Linking to Images in the Rich Text Editor
Adding and Removing Links in the Rich Text Editor