News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Philip Norton's Blog:
Creating A Thumbnail Of A Word Document With PHP And LiveDocx
September 26, 2011 @ 08:50:42

In a new post to his blog Philip Norton shares a method for creating a thumbnail of a Word document with the help of PHP and LiveDocx (in this case, the component inside the Zend Framework).

Creating Word document icons is very simple thanks to a service called LiveDocx. LiveDocx was created as a web service to allow the easy creation of most document formats from a simple template. However, it is possible to send a normal Word document as the template file and get an image of the file in return.

You'll need a LiveDocx account to be able to use the service - there's a free option of their service that uses a shared server. Included in the post is a sample script that defines a LiveDocx connection, pulls in a local Word document for parsing and calls a "getBitmaps" method on the service to return the raw image data. This is pushed into an image (using GD) as a PNG.

0 comments voice your opinion now!
word document livedocx zendframework webservice image thumbnail


blog comments powered by Disqus

Similar Posts

Ben Ramsey\'s Blog: Create an Image from XML Data

Zend Developer Zone: Zend Framework 1.5.0 Preview Release now available

Andi Gutmans' Blog: Looking to grow Zend Framework Team

Zend Developer Zone: OSCON '07 Wrapup

Jan Lehnardt's Blog: Using the Zend Framework with Code Igniter (an alternative)


Community Events





Don't see your event here?
Let us know!


bugfix voicesoftheelephpant developer interview conference library introduction api framework symfony laravel series language release list podcast deployment community zendserver tips

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework