Actions
Bug #88047
closedGalleryProcessor PDF dimensions
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.
Actions