Project

General

Profile

view pdf attachments in browser

Added by pavel Larionov over 9 years ago

Hello, I need some help.

When my files in attachment, or in document, or in files and i click on it, my browser(chrome) whant download it. If I put link to external pdf document to redmine wiki, it's open in browser OK.
Why so?


Replies (4)

RE: view pdf attachments in browser - Added by Ivan Cenov over 9 years ago

tested just now

Environment:
  Redmine version                2.5.2.devel.13335
  Ruby version                   1.9.3-p448 (2013-06-27) [i386-mingw32]
  Rails version                  3.2.19
  Environment                    production
  Database adapter               Mysql2
  Windows 7
  Firefox 31

Uploaded a pdf file in a issue, then clicked on it: FF offered to open or save it.

RE: view pdf attachments in browser - Added by pavel Larionov over 9 years ago

I tested it on IE, and external link like http://www.st.com/st-web-ui/static/active/en/resource/technical/document/data_brief/DM00037955.pdf, opened in browser. My internal pdf atachments just like you - IE offered to open or save it.

I want work with it same is extarnal link, just view in browser.
Any ideas?

and my Environment:

  Redmine version                2.5.1.stable
  Ruby version                   1.9.3-p545 (2014-02-24) [i686-linux]
  Rails version                  3.2.17
  Environment                    production
  Database adapter               Mysql2

RE: view pdf attachments in browser - Added by pavel Larionov over 9 years ago

I do not understand, do not, no one had a desire to see the documents in the browser. I've been so used to working with datasheets pdf format. Very surprised that it does not work in remine.

    (1-4/4)