Project

General

Profile

Actions

Bug #88047

closed

GalleryProcessor PDF dimensions

Added by Riny van Tiggelen over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2019-04-01
Due date:
% Done:

100%

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

Description

If you have a PDF, there is no width and height available in the metadata dimensions.
If you use the GalleryProcessor without options it uses 0 as dimension, which causes the PDF to not be resized.
I think this can be easily solved by checking if the width of the fileObject is above 0, if not use the maxWidth.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #83374: maxGalleryWidth does not work for PDFsClosed2017-12-18

Actions
Actions #1

Updated by Gerrit Code Review over 5 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 https://review.typo3.org/c/Packages/TYPO3.CMS/+/60357

Actions #2

Updated by Riccardo De Contardi over 5 years ago

Is this issue related or even the same? #83374

Actions #3

Updated by Gerrit Code Review over 5 years ago

Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60360

Actions #4

Updated by Riny van Tiggelen over 5 years ago

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

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions #6

Updated by Susanne Moog over 4 years ago

  • Related to Bug #83374: maxGalleryWidth does not work for PDFs added
Actions

Also available in: Atom PDF