Using Imagecache Actions to generate pdf thumbnails
KG2 - May 25, 2009 - 15:39
| Project: | Imagecache Actions |
| Version: | 6.x-1.5 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I want to automatically generate thumbnails for pdf documents. I followed the workaround kindly posted here
http://drupal.org/node/460132
which uses ImageCache, ImageAPI ImageMagick, and ImageCache custom actions (and unfortunately a patch to the imagecache module).
And it works! However, I also get the following error the first time I click on the thumbnail:
warning: extract() [function.extract]: First argument should be an array in ...\sites\all\modules\imagecache_actions\imagecache_customactions.module on line 121.
Could someone please advise me how to resolve this?
Any help or advice would be much appreciated.

#1
You might want to look at this issue, for an alternative way of creating PDF thumbnails: #366373: PDF support ( i.e. convert PDF to JPG support). At the moment, patches to imagecache and imageapi are required - but this method has made it to D7.