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.

Project information

Releases