Project

General

Profile

Actions

Bug #66679

closed

Thumbnails for .pdf-Files are not generated

Added by Markus Klösges over 9 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2015-04-30
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

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


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #66270: ProcessedFile::CONTEXT_IMAGEPREVIEW should only downscale imagesClosed2015-04-03

Actions
Related to TYPO3 Core - Bug #67058: PDF thumbnails are not generated in File List module anymoreClosed2015-05-20

Actions
Has duplicate TYPO3 Core - Bug #67089: Preview image for PDF brokenClosed2015-05-21

Actions
Actions

Also available in: Atom PDF