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...

-- Contributors: TWiki:Main.PaulineCheung


This topic: TWiki > TWikiTipsOfTheDay > TWikiTip007
Topic revision: r2 - 2010-06-27 - TWikiContributor
 
Copyright © 1999-2024 by the contributing authors. All material from TWiki is the property of the contributing authors.
Questions, comments, or concerns? Contact GNHLUG.
All use of this site subject to our Legal Notice (includes Terms of Service).