Fixed bug #65: Thumbnails in Element Browser are only displayed if fileSuffix is...
authorOliver Hader <oliver.hader@typo3.org>
Tue, 18 Sep 2007 19:29:55 +0000 (19:29 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Tue, 18 Sep 2007 19:29:55 +0000 (19:29 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-1@2513 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/class.browse_links.php

index 7b16674..7d9e698 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-09-18  Oliver Hader  <oh@inpublica.de>
+
+       * (minor) Fixed bug #65: Thumbnails in Element Browser are only displayed if fileSuffix is lowercase
+
 2007-09-09  Martin Kutschker  <martin.t.kutschker@blackbox.net>
 
        * fixed bug 5701: linkHandler Hook Not Initialized Properly , patch supplied by Jeff Segars
index e116474..3c879dd 100755 (executable)
@@ -1890,7 +1890,7 @@ class browse_links {
                                $fI=pathinfo($filepath);
 
                                        // Thumbnail/size generation:
-                               if (t3lib_div::inList($GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'],$fI['extension']) && !$noThumbs)      {
+                               if (t3lib_div::inList(strtolower($GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']),strtolower($fI['extension'])) && !$noThumbs)      {
                                        $imgInfo = $imgObj->getImageDimensions($filepath);
                                        $pDim = $imgInfo[0].'x'.$imgInfo[1].' pixels';
                                        $clickIcon = t3lib_BEfunc::getThumbNail($BACK_PATH.'thumbs.php',$filepath,'hspace="5" vspace="5" border="1"');