Skip to main content
Agency Program Get 2× more leads and save 50% on hosting. Built for agencies ready to grow. Book a call
PIG

PDF Image Generator

v1.5.6
by Mizuho Ogino · 4.4 (21 reviews)

Generate automatically cover image of PDF by using ImageMagick. Allow user to insert PDF link with thumbnail into editor and set as Featured Image.

10K+ active installs Updated Apr 25, 2017 Tested to 4.7.29
Try Demo Download
Pre-installed Ready in ~10s No card

About PDF Image Generator

This plugin allows you to upload a PDF and convert the cover page into a JPEG, which can be used as a thumbnail image. It also provides options for displaying the thumbnail icon and inserting a PDF link with a cover image into the editor. However, please note that this plugin is only available for WordPress 4.0+ and requires ImageMagick and GhostScript to be installed on the server.

Frequently asked questions

What does the PDF Image Generator plugin do?
This plugin automatically converts the cover page of a PDF into a JPEG image upon upload. It attaches this image as a post thumbnail file and allows for displaying a thumbnail icon.
What are the system requirements for this plugin?
The plugin requires WordPress 4.0 or higher. Your server must also have ImageMagick and GhostScript installed.
How does the plugin handle generated images?
Generated images are registered as post children of the PDF file and come in various sizes. The plugin also hides the generated image files from the Media Library.
Can I use a PDF as a featured image?
Yes, this plugin allows you to set a PDF as a Featured Image and use its functions in the same way as an image file.
How does the plugin integrate with the WordPress editor?
It allows displaying a thumbnail icon and inserting a PDF link with a cover image into the editor. When inserting a PDF, it replaces the link text with the JPG.

Changelog

1.5.6

25.Apr.2017.
Fixed Undefined index message.

1.5.5

26.Feb.2017.
Fixed CMYK color space problem and regenerating file problem.

1.5.4

10.Feb.2017.
Fixed Undefined index message.

1.5.3

2.Feb.2017.
Fixed Undefined index message.

1.5.2

8.Jan.2017.
Fixed the bug that caused configuring a wrong guid when upload file on an older post. thumbnail naming.

1.5.1

10.Nov.2016.
Change capability of add_options_page. Fix wp.media.view filters and text.

1.5.0

10.Nov.2016.
Fix regenerating and overwriting file problems. Change default imagick dpi from 72 to 150.

1.4.9

21.Oct.2016.
Fix conflict with ACF in media attachment edit page. Fix setImageAlphaChannel problem.

1.4.8

18.Sep.2016.
Fix error strings. Improve branching process of Imagick. Add guid parameter to a thumbnail file.

1.4.7

28.Aug.2016. Add error_log into the converting process.

1.4.6

28.Jun.2016. Change get_posts to get_results. Add translation to img alt. Change converting process of color.

1.4.5

5.Jun.2016. Add overriding wp_get_attachment_metadata function. Add thumb-of-pdf class to a PDF thumbnail via wp_get_attachment_image. Fix a conflict with changing media-frame-menu of wp.media editor.

1.4.4

12.May.2016. Add Color detection process and command of ICC Profile application.

1.4.3

11.May.2016. Add thumbnail box in an edit page of PDF. Change fork process by ImageMagick Versions and convert settings.

1.4.2

8.May.2016. Correspondence to GlotPress. Change the default resolution to 300dpi.

1.4.1

14.Apr.2016. Divide converting processes by IM versions. Use “flattenImages” to imagick api with IM lt6.3.8. Use “-alpha remove” to IM gte6.7.5.

1.4.0

5.Apr.2016. Add option to convert png and background color selector. Modify to avoid overwriting GDE (Google Doc Embedder) hook.

1.3.9

20.Mar.2016. Change imagick filter flattenImages() to “setImageAlphaChannel” & “mergeImageLayers”. Modify behavior of inserting image without media link. Change process of activation.

1.3.8

12.Feb.2016. Add filter to hide image file of PDF on List mode of Media Library. Modify behavior of wp.media.view.settings. Arrange and clean up options of Featured Image which doesn’t function well.

1.3.7

7.Feb.2016. Add filter to attachment link and change format of renaming file basename.

1.3.6

22.Dec 2015. Modify css and activate message.

1.3.5

20.Nov 2015. Modify input fields of Max-width, Max-height and quality to accept only numeric values. Fix behavior of “hide thumbnail” option. Update translation files.

1.3.4

30.Oct 2015. Add option to manually set maximum size of generated image. Add option to regenerate images of already uploaded PDFs. Fix continuity of settings.

1.3.3

21.Oct 2015. Fix and add filters for modifying imageMagick settings.

1.3.2

20.Oct 2015. Add an option for select the functions of imageMagick. Fix default alignment of insert media. Update translation files.

1.3.1

18.Oct 2015. Fix.

1.3

17.Oct 2015. Define classes in the plugin file. Add Attachment Display Settings when trying to insert PDF.

1.2.2

14.Oct 2015. Fix.

1.2.1

12.Oct 2015. Add the plugin page, customizable options, and Japanese language files.

1.2.0

09.Oct 2015. Thumbnail files themselves now hidden in the media library. Allow user to set PDF as Featured Image and to use wp_get_attachment_image function to a PDF file.

1.1.6

28.June 2015. Disabl pigen_change_icon function only in the static media library.

1.1.5

13.May 2015. Automatically add caption short-code when the caption field filled.

1.1.4

02.May 2015. Remove the [0] from the image file name.

1.1.3

24.Apr 2015. Change the way to check in an activation if exec() is enabled or disabled on a server.

1.1.2

4.Apr 2015. Remove the process of generating a test file.

1.1.1

14.Mar 2015. Fix colorspace bug, modified register_activation_hook and error messages.

1.1

3.Feb 2015. Add support for imagick Extension, and added uninstall.php.

1.0.1

17.Jan 2015. Add Verifying ImageMagick installation

1.0

12.Jan 2015. First public version Release

0.1

26.Sep 2014. Initial Release

Try other plugins

Really Simple SSL icon

Really Simple SSL

4.9 · 4M+ installs

The easiest way to improve security! Leverage your SSL certificate and protect your website visitors.