create new tag
, view all tags
This is a small enhancement to show the file type icons of attached files in topic text. Updated TWikiVariables doc:

%ICON{"type"}% Small 16x16 pixel icon of common attachment types, like Bitmap bmp, Microsoft Word file doc, GIF gif, Standard help file hlp, HTML html, Waveform sound file mp3, PDF pdf, PowerPoint ppt, Text txt, Microsoft Excel Spreadsheet xls, XML xml, Compressed Zip archive zip, etc. Specify file type only, file name, or full path name. Example: %ICON{"pdf"}% returns PDF

Change for CairoRelease is in TWikiAlphaRelease (but not yet in TWiki.org).

-- PeterThoeny - 30 Jun 2003

Small change: Added a border="0" attribute so that the icon can be put into a link.

-- PeterThoeny - 26 Jul 2003


  • bmp: Bitmap
  • doc: Microsoft Word file
  • gif: GIF
  • hlp: Standard help file
  • html: HTML
  • pdf: PDF
  • ppt: PowerPoint
  • txt: Text
  • wav: Waveform sound file
  • xml: XML
  • zip: Compressed Zip archive

This list could be useful for TWikiVariables too.

-- ArthurClemens - 09 Jan 2004


-- PeterThoeny - 10 Jan 2004

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2004-01-10 - PeterThoeny
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.