I want to create some thumbs / images of the first page of each .doc and displayed it to the left of the title. See for example: http://www.rasfoiesc.com/legal/drept/index18.php here is a list of doc. On the left i want to be the thumb too. - so i want to generate images thumbs for eache Word / doc . How can i do that?
There are PHP libraries available that will let you read MS-Word documents to some extent. I don't know if any of them would allow you to render them as images with their original formatting, but you could display the first page of text with some formatting that would look pretty good. You may have to create the thumbnails manually in order to display them as they would appear as printed documents.
perhaps you could use the thumbnailer script for nautilus to generate the thumbnail images by making an exec call to the script check out this page: http://forums.fedoraforum.org/showthread.php?t=238476