[BUGFIX] Use argument $tparams BackendUtility::thumbCode for FAL items 17/59417/2
authorGeorg Ringer <georg.ringer@gmail.com>
Fri, 11 Jan 2019 19:59:20 +0000 (20:59 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Mon, 14 Jan 2019 18:23:50 +0000 (19:23 +0100)
Add the argument $tparams to the image tag also for FAL items.

Resolves: #87410
Releases: master, 9.5
Change-Id: I4961a829e2497c747824a76ce5277a7dfe35c2d1
Reviewed-on: https://review.typo3.org/59417
Tested-by: TYPO3com <noreply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Fabien Udriot <fabien.udriot@ecodev.ch>
Tested-by: Fabien Udriot <fabien.udriot@ecodev.ch>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/backend/Classes/Utility/BackendUtility.php

index 1483c52..0e7ed9c 100644 (file)
@@ -1161,7 +1161,7 @@ class BackendUtility
                         'height' => (int)$sizeParts[1],
                         'alt' => $fileReferenceObject->getName(),
                     ];
-                    $imgTag = '<img ' . GeneralUtility::implodeAttributes($attributes, true) . '/>';
+                    $imgTag = '<img ' . GeneralUtility::implodeAttributes($attributes, true) . $tparams . '/>';
                 } else {
                     // Icon
                     $imgTag = '<span title="' . htmlspecialchars($fileObject->getName()) . '">'