NOTE: This is a
DistributionDocument. Please help maintain high quality documentation: This is a wiki, please
fix the documentation if you find errors or incomplete content. Put questions and suggestions concerning the
documentation of this topic in the
comments section below. Use the
Support web for problems you are having
using TWiki.
ICON{"name"} -- small documentation graphic or icon of common attachment types
- Generates the HTML img tag of a small graphic image attached to TWikiDocGraphics. Images typically have a 16x16 pixel size. You can select a specific image by name, or you can give a full filename, in which case the type of the file will be used to select one of a collection of common file type icons.
- Syntax:
%ICON{"name"}%
- Examples:
-
%ICON{"flag-gray"}% returns
-
%ICON{"pdf"}% returns
-
%ICON{"smile.pdf"}% returns
-
%ICON{"/dont/you/dare/smile.pdf"}% returns
-
%ICON{"http://twiki.org/doc/xhtml.xsl"}% returns
- Graphic samples:
arrowbright,
bubble,
choice-yes,
hand
- File type samples:
bmp,
doc,
gif,
hlp,
html,
mp3,
pdf,
ppt,
txt,
xls,
xml,
zip
- Related: ICONURL, ICONURLPATH, TWikiPreferences, FileAttachments, TWikiDocGraphics
I have a small problem. Probably after someone changed this variable and for example

transforms into http://..../TWikiDocGraphics /pdf.gif
instead of http://..../TWikiDocGraphics/pdf.gif (there is a %20 before last / )
Do you have an idea what can be wrong?
--
PiotrStapp - 04 Sep 2008
Please ask support questions in the
Support web.
Your Main.TWikiPreferences topic is probably corrupted by the WYSIWYG editor. Edit that topic and remove all trailing spaces from the setting.
--
PeterThoeny - 06 Sep 2008
Topic revision: r5 - 06 Sep 2008 - 23:49:03 -
PeterThoeny