Linking to a file attachment

One can create a link to a file attachment using one of the following TWikiVariables, %ATTACHURL% or %PUBURL%.

%ATTACHURL% is the full URL for attachments in the current topic. For example:

%ATTACHURL%/image.gif

To link to a file attachment in another topic, use the %PUBURL% variable. For example:

%PUBURL%/%WEB%/OtherTopic/image.gif

See More Tips...

-- TWiki:Main.PaulineCheung - 29 Jan 2005

This topic: TWiki > TWikiTipsOfTheDay > TWikiTip007
History: r1 - 05 Feb 2005 - 02:08:11 - TWikiContributor
 
Copyright © by the contributing authors.
Bernstein - The Memory of Paper http://www.bernstein.oeaw.ac.at
Ideas, requests, problems regarding Bernstein? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiTip007
This site is powered by the TWiki collaboration platform