I am looking for a module that will enable me to upload and preview pdf files, word docs etc on the site. Something along the lines of http://drupal.org/files/images/screenshot_2.jpg. I would like it to be indexable and searchable on the site.

Any recommendations for the module that will allow me to achieve this would be greatly appreciated.


You can try Embedded Google Docs Viewer and check whether your requirements are fulfilled or not. Here is the demo of the module.

The Embedded Google Docs Viewer module adds a new formatter to the File field using the Field API. This formatter displays PDFs, Microsft Word documents, Powerpoint presentations, or Excel spreadsheets directly within a Drupal node.

| improve this answer | |
  • Thank you @mohit_rocks I take it one needs to have a google account and be logged in in order for this to work, is that correct? – kine456 Apr 24 '13 at 1:05
  • Doesn't seem to be working :( I guess because I am uploading the files from my machine? I found this "Sorry, but as the module docs point out, the documents must be publicly accessible - Google can't format and display them if they can't be gotten to. So it won't work if you are using private file storage, are behind a firewall, or on a local site that is accessed with a "localhost" address." @mohit_rocks – kine456 Apr 24 '13 at 2:29
  • Let me install and check it.. – mohit_rocks Apr 24 '13 at 4:15
  • I have tested it. It works perfectly. I have added Upload Destination as public files while creating the fields. Try it out and let me know your feedback. – mohit_rocks Apr 24 '13 at 4:26
  • Thank you for that @mohit_rocks For my content type the Upload destination is also se to Public files ( Select where the final files should be stored. Private file storage has significantly more overhead than public files, but allows restricted access to files within this field.) I wonder why it's not working for me :( – kine456 Apr 24 '13 at 4:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.