I'm building an application where people can upload files and share them with other people. Part of what we are looking to do is allow people to preview the file on-line.
Is there a strait forward way to generate a jpgs for the first X amount of pages from a document? We could then place these jpgs in the web page allowing the user to preview.
I have looked at installing open office on the server but was hoping there was a php library somewhere that does the same job.
Can anybody help?
Cheers
Btw, doesnt have to be jpg, any image file would be fine (actually even pdf would be ok)