Generate automatically cover image of PDF by using ImageMagick. Allow user to insert PDF link with thumbnail into editor and set as Featured Image.
By uploading a PDF attachment, this plugin convert the cover page to jpeg and attach it as a post thumbnail file. It also allows displaying a thumbnail icon and inserting PDF link with a cover image into the editor.
This plugin hooks to the media editor and generates the first page image of PDF by using ImageMagick with GhostScript. It requires no setup, just activate the plugin via the admin install page. Allow to set a PDF as an image.
This Plugin replaces and extends the following features.
A generated image file is registered as post children of a PDF file and it has different size variations. Files build a tree like below.
Select a PDF file in the Media Uploader and insert it into the the editor. An output HTML is automatically rewritten like below.
<a class="link-to-pdf" title="dummy-pdf" href="http://exmaple.com/wp-content/uploads/2015/01/dummy-pdf.pdf" target="_blank"><img width="227" height="320" class="size-medium wp-image-9999 thumb-of-pdf" src="http://exmaple.com/wp-content/uploads/2015/01/dummy-pdf-pdf-227x320.jpg" alt="thumbnail-of-dummy-pdf" /></a>
*If you are using a document viewer plugin (like GDE) and want insert html which is made by it, select "Default (Title)" of "media" selector.
Requires: 4.0 or higher
Compatible up to: 4.7.2
Last Updated: 2 weeks ago
Active Installs: 7,000+
0 of 8 support threads in the last two months have been marked resolved.
Got something to say? Need help?