New Umbraco Package: PDF Preview
Scandia is contributing to the Umbraco open source community
with yet another package. This one is simple, but should come in
handy for other developers and site owners alike.
It allows users to easily select from the existing Media
library, using uploaded PDF documents. Furthermore, the user can
select which page in the PDF document to use for the preview. This
comes in handy if, for example, you are linking to an exported
PowerPoint deck, but want to show something other than the title
slide.
Configuration
The macro takes the following parameters:
- Page Number - The number of the page in the
PDF document
- PDF File - The PDF file to preview (using
Media Chooser)
- Quality DPI (optional) - The default value is
18 (max) but can be set lower.
- Link URL (optional) - By default the macro
links to the selected PDF document. This can be overridden with any
fully qualified URL (including "http://")
Download
You can download the package here.
Credits
The PDF preview package uses a free version of PDF Preview by Tall Components.