Can users preview documents before downloading them?
The Document Library Pro plugin makes it easy to add download buttons so that people can download files to their computer. In addition to this, you might want to allow people to preview files before they download them. This article provides advice on how to do this.
Each document has an individual page, which users can access by clicking on a link to the document (e.g. on the document title). If you set the link destination option to 'Open single document page' then users can be forced to access the single document page before downloading the document.
The single document page is an excellent place to add a preview of the document. The best way to do this depends on the file type, so here are some suggestions for different file types:
- PDF's and other document types - you can upload the file to Google Drive and embed it using a plugin like Google Drive Embedder. Alternatively, you can use a tool like Flipsnack to embed the document as an interactive page turning flip book.
- Audio and video - you can embed audio and video players directly into the single document page.
- Images - use the 'Add Media' button to insert the image into the single document page.
All of these document previews will appear in the main content area of the single document page. The document download link will appear on the right hand side of the page, so users can preview the document before downloading it.