|Mar 14, 2013, 11:55 AM||#1|
preview documents in DMS
I am tasked with creating a document management system that our customers and vendors use to view details pertaining to each transaction. Each transaction contains several files (usually pdf and images, but sometimes word, excel, powerpoint) that I need for them to be able to preview in the web browser. The rest of the system is basically complete.
Since the transactions are confidential, there is a login system and uploaded files are stored outside of the webroot (stored and accessed via php).
The Question: When a user views a transaction and clicks on a related document, I need for them to be able to preview it in the browser. Since the documents are outside of the web server root, this will likely need to be done with PHP and be as secure as the session based login system. Any ideas on how to work the preview? Even if only for pdf's? Image files are not my concern right now as I already have a lightbox script that should adapt nicely to files served up with PHP.
Preferably, users on iPhone/iPad as well as Mac/PC should be able to view these files.
MacBook Pro 15" Early 2011 2.3 Quad Core i7 8GB RAM 512GB SSD High Res Screen
MacBook Air 13" RevA; 24" iMac, 2.4 Ghz, 4GB, 1TB
64 At&t Black iPad 2; 64 GB iPhone 4S
|Mar 15, 2013, 02:14 AM||#2|
1) Drupal 7 CMS with responsive theme for mobile support
2) Files uploaded vis Amazon S3 CDN ( offsite files, secure, Drupal 7 supports S3 as an external private file system seamlessly and transparently intergrate via one simple contrib module: http://drupal.org/project/amazons3 ) - users login to Drupal, you create content type(s) to upload files in whatever folders you wish, each stored on the CDN and retrieved as if it was local. This approach is a professional scalable implementation instead of dealing with local above docroot file transfers, permissions issues, etc. Simplify and externalize, plus enjoy the S3 management console.
3) Use one of the PDF viewer contrib modules listed here: http://drupal.org/node/1781960 (I suggest the PDF Reader, last one listed)
There are numerous contrib modules for S3 support in Drupal such as Views S3 so you can create ad hoc queries and lists accessing your S3 content with ease. Useful for created a fully themed/customized paginated file manager integrated with the preview stuff noted in #3 above. Views is a powerful tool when used properly, and is well supported.
Sr. Web Developer, owner GoldTechPro, LLC
|dms, pdf, php, preview, secure|
|Thread Tools||Search this Thread|
All times are GMT -5. The time now is 05:50 AM.