michaelctorres / clients-oriented-ftp

Automatically exported from code.google.com/p/clients-oriented-ftp
0 stars 0 forks source link

PDF / Word Previews #233

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I dont know of any script off-hand, and I would rather it not be google docs, 
but PDF and Word previews would be awesome. Any thoughts or plans for this?

Original issue reported on code.google.com by ma...@worklabs.ca on 9 Mar 2013 at 1:33

GoogleCodeExporter commented 8 years ago
This would be very interesting, but files are not accesible from outside php 
due to the apache rules set on the .htaccess file. So, any preview MUST be 
generated by an application included on ProjectSend (or something that runs on 
the same server as this APP). Sadly there are 2 problems with this:
- I do not know of any app that I can include that would do this.
- If one shows up, it will need to have a license that allows for free 
distribution, and also should be small in size.

With the current approach, Google Docs will not be able to access the files.

Original comment by i...@subwaydesign.com.ar on 10 Mar 2013 at 7:46

GoogleCodeExporter commented 8 years ago
I think this: http://pages.cs.wisc.edu/~ghost/doc/faq.htm works. Ghostscript. 
Although I read somewhere that you would also need ImageMagick to make it work. 
See here as well: 
http://www.webvamp.co.uk/blog/coding/how-to-create-pdf-preview-images-in-php/

Original comment by ma...@worklabs.ca on 10 Mar 2013 at 11:44