The module provides an image field formatter for the thumbnail field of Media entities. The default thumbnail image will be replaced by an image generated from a pdf file referenced in any file field of the Media entity.
Prerequisite :
Imagick PHP extension (at least 6.3.7)
spatie/pdf-to-image library: composer require spatie/pdf-to-image.
Instructions :
Install as you would normally install a contributed Drupal module and enabled it.
Install spatie/pdf-to-image: composer require spatie/pdf-to-image
Usage :
See documentation for all details.
Versions details :
7.0.x
spatie/pdf-to-image 3.x
PHP >=8.2
6.1.x
spatie/pdf-to-image 2.1.x
PHP >=8.1
6.0.x => Deprecated (no more updates)
Project information
- Project categories: Media
3,149 sites report using this module
- Created by sgostanyan on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.


