data/TWiki/TWikiTip007.txt
changeset 0 414e01d06fd5
equal deleted inserted replaced
-1:000000000000 0:414e01d06fd5
       
     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