|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.
rMBP 15" Mid 2014 Quad Core i7 1TB SSD
MacBook Air 13" RevA; 24" iMac, 2.4 Ghz, 4GB, 1TB
128 GB iPhone 6 Plus - Gold
A bunch of other Apple stuff...
|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|
|thread||Thread Starter||Forum||Replies||Last Post|
|Preview/QuickLook iWork documents without iWork||vladobizik||Mac Applications and Mac App Store||3||Nov 6, 2012 08:33 AM|
|DMS NewDocs||SViK Pro||Mac Applications and Mac App Store||2||Aug 30, 2012 03:26 PM|
|Where to access Preview documents?||staccato83||OS X 10.8 Mountain Lion||5||Jul 26, 2012 12:31 PM|
|Documents in the cloud & Preview.app||aka.seim||OS X 10.8 Mountain Lion||2||Jun 25, 2012 06:36 AM|
|Preview and Text Edit documents in iCloud||Steven Jackson||OS X 10.8 Mountain Lion||2||Jun 14, 2012 03:30 PM|
All times are GMT -5. The time now is 03:53 AM.