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

Also available in: Atom PDF