Commit 3671602b authored by Bernhard Kraft's avatar Bernhard Kraft
Browse files

Fixed bug #0000975: Make the thumbnail-size of filelinks chooseable


git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_3-8@742 709f56b5-9817-0410-a4d7-c38de5d9e867
parent 32ed9f4b
2005-05-21 Bernhard Kraft <kraftb@kraftb.at>
* Fixed bug #0000975: Make the thumbnail-size of filelinks chooseable
2005-05-20 Michael Stucki <michael@typo3.org>
* Fixed bug #0000459: undefined function: float() in class.t3lib_cs.php
......
......@@ -3725,7 +3725,9 @@ class tslib_cObj {
$icon = $this->cObjGetSingle($conf['iconCObject'],$conf['iconCObject.'],'iconCObject');
} else {
if ($GLOBALS['TYPO3_CONF_VARS']['GFX']['thumbnails']) {
$icon = 't3lib/thumbs.php?&dummy='.$GLOBALS['EXEC_TIME'].'&file='.rawurlencode('../'.$theFile);
$thumbSize = '';
if ($conf['icon_thumbSize'] || $conf['icon_thumbSize.']) { $thumbSize = '&size='.$this->stdWrap($conf['icon_thumbSize'], $conf['icon_thumbSize.']); }
$icon = 't3lib/thumbs.php?&dummy='.$GLOBALS['EXEC_TIME'].'&file='.rawurlencode('../'.$theFile).$thumbSize;
} else {
$icon = 't3lib/gfx/notfound_thumb.gif';
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment