Here is a temporary fix for you. In vault/core/controller/dm/attach/file/vw.php, find:
Code:
if (!$this->filetype OR !$this->filetype['is_image'])
Replace with:
Code:
if (!$this->filetype OR !$this->filetype['is_image'] OR $extension == 'pdf')
This will make PDF files not be considered image files, which means thumbnails won't be created for them. If you want this functionality, you need to check your php.ini and make sure that the Imagick extension is installed and properly configured.
As before, you can just reload the upgrade script and click "Continue."
Otherwise, after the upgrade, you can permanently disable thumbnails on PDF files by going to Admin Panel > Content > Attachments, editing "pdf", and setting "Is this an image type?" to "No".
This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.