Confluence Docs 3.0 : Linking to Attachments This page last changed on Sep 23, 2008 by smaddox. Once you have attached a file to a page, you can easily provide a link to it from the page. This page tells you how to use Wiki Markup to link to an attachment. You can also use the Rich Text editor to link to an attachment. Images are a special form of attachment. Read about displaying images on a page. ## Linking to an Attachment on a Page You can link to images and other types of attachments like this:
What you need to type | What you will get
--- | ---
[^Linking to attachments.pdf] | Linking to attachments.pdf
[PDF document about linking to attachments|^Linking to attachments.pdf] | PDF document about linking to attachments
Where: 'Linking to attachments.pdf' is the name of the file you want to link to. ## Linking to an Attachment on Another Page You can link to any attachment on your Confluence site using the following syntax: Attached to another page in the same space:
    [pagetitle^attachment.ext]
Attached to another page in another space:
    [spacekey:pagetitle^attachment.ext]
## Adding Link Aliases and Tips Optionally, you can: use an alias to refer to the attachment. provide a link tip for the link. Example 1:
    [link alias|pagetitle^attachment.ext|link tip]
Example 2:
    [link alias|spacekey:pagetitle^attachment.ext|link tip]
## Linking to a Specific Version of an Attachment The link format described above will always link to the current version of the attachment. If you want to link to a particular version of an attachment you will need to use the full URL. For example:
What you need to type | What you will get
--- | ---
[Version 1|http://confluence.atlassian.com/download/attachments/139515/Linking+to+attachments.pdf?version=1] | Version 1
##### RELATED TOPICS Rich Text-Linking to an Attachment Displaying an Image Attaching Files to a Page Displaying List of Attachments in a Page Take me back to Confluence User Guide Attachments: Linking to attachments.pdf (application/pdf) Linking to attachments.pdf (application/pdf)

Document generated by Confluence on Nov 05, 2009 23:35