WP PDF thumbnails not working

Issue Summary

When uploading PDF files in WordPress (doesn’t matter where) the PDF thumbnails are not being generated.
After debug I found that the Imagemagick version isn’t fully functional to support PDF files.
It’s related to this issue: https://github.com/ImageMagick/ImageMagick/issues/404

Troubleshooting Questions

  • Does this happen for all sites in Local, or just one in particular?
    Yes

  • Are you able to create a new, plain WordPress site in Local and access it in a Browser?
    Yes

Replication

Just upload a PDF, no thumbnail will be shown/created.

System Details

  • Which version of Local is being used?

    • 5.7.5+4909
  • What Operating System (OS) and OS version is being used?

    • Windows 10 Professional
  • Attach the Local Log. See this Community Forum post for instructions on how to do so:

    • Couldn’t find anything related in the logs since this part of WP is done within a try/catch closure. See class-wp-image-editor-imagick.php: WP_Image_Editor_Imagick::load();

Thanks for the details with this @keraweb – it’s really helpful for replicating the issue and knowing a general direction for a fix!

We already had this on our list of things to work on:

https://feedback.localwp.com/bug-reports/p/imagick-is-unable-to-work-with-pdfs-wordpress-pdf-thumbnails-cannot-be-generated

But, I’ll let our devs know more about your specific case!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.