[pmwiki-users] Cookbook: Display PDF thumbnails

Michael Eager eager at eagercon.com
Wed Apr 22 12:40:31 PDT 2020


The attached cookbook script displays a thumbnail for a PDF along with a 
link to the PDF file.  This was loosely based on the minimage.php 
script.  Usage is similar:  PDF:filename.pdf generates a thumbnail and 
displays it on the page.

This is my first attempt at writing a cookbook recipe.  I considered 
extending the minimage recipe, but decided not to.

Comments?

-- 
Michael Eager

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PDFThumb.php
Type: application/x-php
Size: 2888 bytes
Desc: not available
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20200422/6c0ed055/attachment.bin>


More information about the pmwiki-users mailing list