data/TWiki/TWikiTip007.txt
author Colas Nahaboo <colas@nahaboo.net>
Sat, 26 Jan 2008 15:50:53 +0100
changeset 0 414e01d06fd5
permissions -rw-r--r--
RELEASE 4.2.0 freetown
     1 %META:TOPICINFO{author="TWikiContributor" date="1107569291" format="1.0" version="1"}%
     2 %META:TOPICPARENT{name="TWikiTipsOfTheDay"}%
     3 ---+ Linking to a file attachment
     4 
     5 One can create a link to a file attachment using one of the following TWikiVariables, =%<nop>ATTACHURL%= or =%<nop>PUBURL%=.
     6 
     7 =%<nop>ATTACHURL%= is the full URL for attachments in the current topic. For example:
     8 
     9 =%<nop>ATTACHURL%/image.gif=
    10 
    11 To link to a file attachment in another topic, use the =%<nop>PUBURL%= variable.  For example:
    12 
    13 =%<nop>PUBURL%/%<nop>WEB%/OtherTopic/image.gif=
    14 
    15 [[TWikiTipsOfTheDay][See More Tips...]]
    16 
    17 -- TWiki:Main.PaulineCheung - 29 Jan 2005
    18