Issue Bug Closed

#88047GalleryProcessor PDF dimensions

Riny van Tiggelen 04/01/19, 18:04 updated 05/07/19, 12:10

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.

Reviews 2