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 #1

Updated by Gerrit Code Review over 9 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 http://review.typo3.org/39077

Actions #2

Updated by Gerrit Code Review over 9 years ago

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

Actions #3

Updated by Gerrit Code Review over 9 years ago

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

Actions #4

Updated by Gerrit Code Review over 9 years ago

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

Actions #5

Updated by Gerrit Code Review over 9 years ago

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

Actions #6

Updated by Gerrit Code Review over 9 years ago

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

Actions #7

Updated by Markus Klösges over 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #8

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF