Question

I have a customer that do a little wrap up of what happend during the weekend and prep a file in MS Word with pictures and text

that word document is then converted in pdf for downloading on the web site as link. I can make a php script that will check in the folder how many file there is ans make a list of them, but i like to be able to have a preview of the file (automatically) or best a way to view the file online WITHOUT having to download...

Any idea how to do that, how do YOU handle that situation ?

thanks in advance


here is a interesting link

Was it helpful?

Solution

have you tried: Google Docs Viewer; it can point to a file on your server

OTHER TIPS

There are few options: in linux/nix there tools that can convert your pdf file pages to multiple image file. u can display the image as snapshot to your pdf pages. this u need some simple skill a pgm that do the pdf to image/png/jpeg and some web scripting to display it page by page.

adobe flex can do the tricks. but first of all u need to convert your pdf to swf files. there few tools that can do that. after that by using flex u can open your swf movie and the paging will be your swf frame.

this is my prototype by using flex ... somehow similar to a well known tool in the net...

u can do it also by using image magic tool name convert: eg:

# convert -thumbnail x360 pdffile[0] thumb_0.jpg

pdfminer ...a nice tool than can generate to html

good luck...

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top