Project

General

Profile

PDF files do not auto display

Added by Adam Balgach about 6 years ago

I recently upgraded from 2.6.0-1 to vanilla 3.4.3-1 without issues. When users try and click on PDF files attached to tickets, it brings you to the preview page and says "no preview available" and says "Download the file instead"

in prior versions of redmine it would automatically download the file and display it in the browser, how do i either:

  • enable previews for PDF files so users don't have to download the files
  • make the files download by default and display in the browswer

if you click on the download icon next to the filename it works as expected -

[click on the file] http://servername.com/redmine/attachments/17414/filename.pdf

[click on the download icon] http://servername.com/redmine/attachments/download/17414/filename.pdf

i noticed the difference between the two links (the download button sends you to "...attachments/download/...." which is what i'd like for all of them, OR somehow get the preview for PDFs working.

thanks!


Replies (2)

RE: PDF files do not auto display - Added by Franco Campanale almost 6 years ago

+1
How do I enable preview for PDF or other types?

Thank you

RE: PDF files do not auto display - Added by Anonymous almost 6 years ago

For preview it is a good idea to install the lightbox plugin: http://www.redmine.org/plugins/redmine_lightbox2

Cheers

    (1-2/2)