This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » plugins » General plug-ins » sfThumbnailPlugin PDF problem
sfThumbnailPlugin PDF problem [message #103036] Sat, 24 July 2010 20:42
mut3nr01  is currently offline mut3nr01
Messages: 1
Registered: July 2010
Junior Member

I'm trying to use sfThumbnailPlugin to generate a thumbnail of the first page from PDFs uploaded by users.

The code i'm using is:
$thumb = new sfThumbnail(630, 891, true, true, 75, 'sfImageMagickAdapter', array('extract' => 1));
$thumb->loadFile(<pdf file>);

but i get an "Image could not be identified" exception.

Any ideas?

Thank you!
Previous Topic:sfContactGrabber plugin
Next Topic:How to set default culture for sfGuard user?
Goto Forum:

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software