#79569IRRE preview does not show a default icon when no preview rendering is possible
Description
*Scenario*
A user adds a CE upload (“File Links”) to a page and adds e.g. some files with extension .xls and .pdf.
*Problem*
The preview rendered within IRRE does not work for all allowed fileextensions – see attachment.
The thumbnail rendering of PDF is working correctly in module filelist – see attachment.
- although thumbnail generation for PDF is working a default icon shown – that is okay.
- for XLS a preview does not make sense but is tried and no icon is shown – that looks odd.
*Versions*
TYPO3 CMS 7.6.15
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Files 6
History 6
-
Daniel Wagner changed attached ce_filelist_pagemodule.png 01/31/17, 16:31
-
Daniel Wagner changed attached preview_1e8552bd43.gif.png 02/07/17, 12:58
-
Daniel Wagner commented 02/07/17, 13:15
-
Daniel Wagner changed category Tags image security backend irre Complexity easy 02/08/17, 08:20
-
Susanne Moog changed category 10/26/17, 15:50
-
Georg Ringer commented and changed attached Bildschirmfoto 2024-07-08 um 20.11.54.png attached Bildschirmfoto 2024-07-08 um 20.12.50.png status
NewClosed 07/08/24, 18:13this looks nicer now since a long time, therefore closing
!Bildschirmfoto%202024-07-08%20um%2020.11.54.png!
Bildschirmfoto%202024-07-08%20um%2020.12.50.png
*Thumbnail Rendering*
renderForeignRecordHeader in InlineRecordContainer.php lets the image tool render a preview
and then will show the thumbnail if the processedImage has any width otherwise an icon will be shown.
In my case graphicsmagick renders a gif-thumbnail containing some text infos which has a width :(
*Suggestion*
Side EffectsInstead checking the thumbnail generation afterwards there should be a check against [GFX][imagefile_ext] before the generation.