Bug #66679
closed
Thumbnails for .pdf-Files are not generated
Added by Markus Klösges over 9 years ago.
Updated about 6 years ago.
Description
Commit e12a2613969940c4da2d8381f9a12bc364b511b0 (found by git bisect)
introduced a patch to prevent upscaling of images when creating Thumbnails. This prevents generation for pdf-Files because of condition
// Only scale down when new dimensions are smaller then existing image
if ($configuration['width'] > $sourceFile->getProperty('width')
&& $configuration['height'] > $sourceFile->getProperty('height')) {
return NULL;
}
pdf-Files don't have a width so this is causing problems here.
tested on 6.2 but commit is also in master
- 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 http://review.typo3.org/39077
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39077
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39077
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39077
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39654
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/39655
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF