none
[openafs-wiki.git] / TWiki / TWikiTip007.mdwn
1 # <a name="Linking to a file attachment"></a> Linking to a file attachment
2
3 One can create a link to a file attachment using one of the following [[TWikiVariables]], `%ATTACHURL%` or `%PUBURL%`.
4
5 `%ATTACHURL%` is the full URL for attachments in the current topic. For example:
6
7 `%ATTACHURL%/image.gif`
8
9 To link to a file attachment in another topic, use the `%PUBURL%` variable. For example:
10
11 `%PUBURL%/%WEB%/OtherTopic/image.gif`
12
13 [[See More Tips...|Main/TWikiTipsOfTheDay]]
14
15 -- TWiki:Main.PaulineCheung - 29 Jan 2005