Bug #88047
closedGalleryProcessor PDF dimensions
100%
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.
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
Updated by Riccardo De Contardi over 5 years ago
Is this issue related or even the same? #83374
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
Updated by Riny van Tiggelen over 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 072e6f62bad05363f171c0b14162715e53cd6dd7.
Updated by Susanne Moog over 4 years ago
- Related to Bug #83374: maxGalleryWidth does not work for PDFs added