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
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

egfrith - November 8, 2009 - 22:25

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.

 
 

Drupal is a registered trademark of Dries Buytaert.