Plugin for Redmine. Show pdf attachments in preview pane. Also will show pdf thumbnails. This plugin requires imagemagick and ghostscript to be installed
- View first page of a large pdf-file as a smaller preview image in Redmine's preview pane
-
download plugin and copy plugin folder redmine_preview_pdf go to Redmine's plugins folder
-
restart server f.i.
sudo /etc/init.d/apache2 restart
- go to plugins folder, delete plugin folder redmine_preview_pdf
rm -r redmine_preview_pdf
- restart server f.i.
sudo /etc/init.d/apache2 restart
-
Go to Administration->Information and verify if ImageMagick and Ghostscript are installed
(ImageMagick and Ghostscript are only needed, if you choose to preview a pdf file as an image)
GhostScript 'gs' and ImagMagick 'convert' should be available in the path of the Redmine process user
-
Go to Administration->Plugins-Redmine Preview PDF->Configure and choose your preview method
<object><embed>
downloads the whole pdf. Should be compatible with elder browsers<iframe>
downloads the whole pdf as well. Should be compatible with newer browsers<img>
shows only the first page of the pdf as an image. Compatible with every browser -
On Issue show page click on a pdf attachment to to view -depending on your choice-
- the first page of the pdf as an image - good for large pdf files
- the whole pdf embedded
-
Starting with version 1.0.3 choose to either embed full pdf in preview pane or only image of first page
Have fun!
- 1.0.2
- English
- German
- 1.0.1
- no localizable strings present in plugin
1.0.4 fixed aspect ratio problem for img preview
1.0.3
- added option to embed original pdf instead of only first page
- added check for Ghostscript availabilty under Administration->Information
- option to choose beteween embedding method with iframe or object/embed (for enhanced compatibilty with legacy browswers)
1.0.2
- added check for Ghostscript
- added option to show full original pdf embedded in preview pane
- added option how to embed pdf in preview pane with
<object><embed>
or<iframe>
-tags
1.0.1 running on Redmine 3.4.6