This module creates a thumbnail image of the first page of a PDF document using ImageMagick. It provides a formatter for file fields to display these thumbnails.
Overview
This module uses ImageMagick to generate a thumbnail image of the first page in a PDF document. There is a PDFPreview formatter available on file fields to display the thumbnail.
Dependencies
ImageMagick module and related binaries must be installed to use this module. See the project page for more details. ImageMagick does not have to be set as the default image toolkit.
NOTE: Recent versions of ImageMagick must be configured to allow reading PDF files. You'll need to give "read" permission to the PDF pattern in /etc/ImageMagick-7/policy.xml as below:
<policy domain="coder" rights="read" pattern="PDF" />
Alternative modules
The PDF to ImageField module saves thumbnails to a separate image field.
Ask your assistant about PDFPreview
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- ImageMagick >=8.x-3.7
- image Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.