Plugin for Redmine. Show pdf attachments in preview pane. Also will show pdf thumbnails. This plugin requires imagemagick and ghostscript to be installed
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
rm -r redmine_preview_pdf
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-
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.4 fixed aspect ratio problem for img preview
1.0.3
1.0.2
<object><embed>
or <iframe>
-tags1.0.1 running on Redmine 3.4.6