title: Create a thumbnail preview of documents (PDF, DOC, XLS, etc.) in PHP (LAMP)
body: <p>When users upload certain files to my site (such as .doc, .xls, .pdf, etc) I'd like to be able to generate a preview thumbnail (of the first page of the document). I'm working with PHP in a LAMP stack but would be happy with any library or command-line tool that can do the job (Linux highly preferred).</p>