Bug #81826
closedIRRE Thumbnails are not rendered for images with extension written in capital letters
100%
Description
Since a recent change thumbnails are not generated for images as inline records anymore if their extension name is written in capital letters (e.g. JPG instead of jpg).
The InlineRecordContainer does not correctly get the file extension.
The proper way should be via File->getExtension(), which would always give the lowercase version. At the moment it is fetched through the method File->getProperty('extension'), which gives the extension as it is (i.e. in capital letters).
This means that the following check if the file extension is an image file extension fails for the capitalised version.
Updated by Gerrit Code Review over 7 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53427
Updated by Gerrit Code Review over 7 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/53466
Updated by Johannes Schlier over 7 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset dfcaee7769a186cc756a9e25dcc837957c914bec.