Closed (won't fix)
Project:
ImageCache Actions
Version:
6.x-1.5
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 May 2009 at 15:39 UTC
Updated:
25 May 2010 at 14:10 UTC
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.
Comments
Comment #1
egfrith commentedYou 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.
Comment #2
dman commentedPlease go see http://drupal.org/project/pdf_to_imagefield
It's awesome, and a much better answer than trying to do this here