• Resolved eljefejb

    (@eljefejb)


    Does this plugin not generate thumbnails for PDF files? When attempting to regenerate thumbnails for a PDF, I get the error message:
    The current image editor cannot process this file type.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor viper007bond

    (@viper007bond)

    Only ImageMagick can create thumbnails of PDFs, not PHP’s GD extension. WordPress will default to ImageMagick but only if it’s installed.

    You can see which image editor is in use with this plugin:

    https://ww.wp.xz.cn/plugins/health-check/

    Go to Dashboard → Health Check → “Debug information” tab → “Media handling” subsection.

    Thread Starter eljefejb

    (@eljefejb)

    Turns out that a recent yum update borked my install of ImageMagick. I tried updating/reinstalling/uninstalling/reinstalling all the pieces, but kept running into compatibility errors. Apparently, it’s the CentOS provided version of php-pecl-imagick that was the problem. Here’s what finally did it for me:
    sudo yum --enablerepo="remi-php56" install php-pecl-imagick

    Sorry for thinking it was your plugin. It has always worked very well! 🙂

    Guilherme8d

    (@guilherme8d)

    Good Morning!
    I’m having the same error but I’m not trying anything with PDF, just same images, follow the link https://prnt.sc/je21dm

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Invalid file type’ is closed to new replies.