[TYPO3-core] RFC: Bug 65: Thumbnails in Element Browser are only displayed if fileSuffix is lowercase

Oliver Hader oh at inpublica.de
Tue Sep 18 20:56:55 CEST 2007


This is a SVN patch request.

Problem:
The $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'] variable
contains something like 'jpg,gif,png'. If you have a filename like
'something.GIF' - with an uppercased file extension - the thumbnail
isn't shown because of no exact match with the extensions defined in
'imagefile_ext'.

Solution:
Do a lowercased comparison of the current file extension and the allowed
file extensions.

Comments:
This issue was reported in the bugtracker for TYPO3 3.6.0... ;-)

Bugtracker references:
http://bugs.typo3.org/view.php?id=65

Branches: TYPO3_4-1 & Trunk


olly
-- 
Oliver Hader
http://inpublica.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0000065.patch
Type: text/x-diff
Size: 770 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070918/ed1a04b4/attachment.patch 


More information about the TYPO3-team-core mailing list