The filename of the icon used is the one of the filetype of the file
given in path (see above) plus extension (by default .gif).
For example for CSS files the icon file css.gif will be used
If for a certain filetype no icon file is found in icon.path, the file
default plus extension (for example default.gif) will be used.
The following sub-properties are available and have stdWrap functionality:
Path to the icon set.
Default is typo3/sysext/frontend/Resources/Public/Icons/FileIcons/.
ext: File extension of icons. Default is .gif.
widthAttribute: Width of the icons in pixels. Default: 18
heightAttribute Height of the icons in pixels. Default: 16
icon needs to be set for the option to take effect and the file
extension of the image file must be part of icon_image_ext_list.
You can set one or two values, see the examples. If you set two
values, the first value will define the maximum width and the second
one the maximum height. The aspect ratio of the original image will be
This property can be used to pass additional typolink settings for
the generated file link.
Please note that the following properties will be ignored because they are
set by the filelink function: