Linking to a file attachment

A link to a file attachment may be created in a few different ways:
  1. If using the WYSIWYG editor (TinyMCEPlugin), use the attach (paperclip) toolbar button to select an attachment on the "Insert link to attachment" tab and then press the "Insert link" button
  2. Use the %ATTACHURL% macro (see VarATTACHURL). This is the full URL for attachments in the current topic. For example:
    %ATTACHURL%/image.gif
  3. To link to a file attachment in another topic, use the %PUBURL% macro (see VarPUBURL). For example:
    %PUBURL%/%WEB%/OtherTopic/image.gif

See More Tips...
Topic revision: r1 - 18 Aug 2010 - 15:08:46 - ProjectContributor
 

Herausgeberin:
Hochschülerinnen- und Hochschülerschaft an der Technische Universität Wien
(Vorsitzender: Lukas BÜRSTMAYR)
Wiedner Hauptstraße 8-10
1040 Wien
T: +43-1-58801-49501
F: +43-1-58691-54
sekretariat@htu.at