Advertisement:

Author Topic: Display PDF attachments in browser  (Read 1096 times)

Offline elkaintmoose

  • Semi-Newbie
  • *
  • Posts: 59
    • Ferrellweb
Display PDF attachments in browser
« on: February 25, 2012, 10:23:59 PM »
On my forum, I have a lot of PDF attachments to posts. When someone clicks on one, it downloads directly to their computer. Is there a way to have PDF attachments open with the browser plugin rather than downloading immediately? (From what I've read, it seems like this is a "feature not a bug" -- but I just wanted to make sure...)
Thanks!

Offline Kermit

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 4,365
  • Gender: Male
Re: Display PDF attachments in browser
« Reply #1 on: February 26, 2012, 01:39:41 AM »
Yes,it's not a bug and for showing pdf inside the posts,you can use this mod

http://custom.simplemachines.org/mods/index.php?mod=1468
My Mods
Please don't PM/mail me for support,unless i invite you
Formerly known as Duncan85
Quote
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

A. Einstein

Offline elkaintmoose

  • Semi-Newbie
  • *
  • Posts: 59
    • Ferrellweb
Re: Display PDF attachments in browser
« Reply #2 on: February 26, 2012, 06:05:33 AM »
Ah, yes, thanks -- I saw that earlier, but that actually displays the contents inline within the post, right? I still want them to show as attachments (users may be adding  others, as well -- jpegs, docs, ppts, etc., so I'd rather not have a "special" way of adding just pdfs...) but display using the browser plugin when clicked. But the "download" behavior is baked in, then.

Offline Aleksi "Lex" Kilpinen

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,430
  • Gender: Male
  • The Artist Formerly Known as LexArma
Re: Display PDF attachments in browser
« Reply #3 on: March 10, 2012, 11:28:04 AM »
I'm unsure if that's easily accomplished or near impossible, but I'd think giving the users the option to save or open is more user friendly thanautomatically opening them in the browser.
Finnish Support Local Moderator & Support Specialist
My Mods: Facebook and Twitter Sharer