pdf-viewer addon
Posted
#6701
(In Topic #1736)

Standard member

Is that not the way this addon works? And if not, how does it work?
Thanks in advance for your help!
Posted

Site director

I have updated the addon description to be clearer:
"PDF media (including the Comcode media tag, Comcode attachments, and in galleries) will be displayed inline using a PDF viewer than prevents easy download or printing."
It's not in any way related to the downloads addon I'm afraid.
There is, however, a config option "Downloads open in associated program". Perhaps that would work for you. Downloads will open in whatever the system viewer is rather than downloading. Then if users want a download then they can save from that viewer (typically).
Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Posted

Standard member

Chris Graham said
Hi,
I have updated the addon description to be clearer:
"PDF media (including the Comcode media tag, Comcode attachments, and in galleries) will be displayed inline using a PDF viewer than prevents easy download or printing."
It's not in any way related to the downloads addon I'm afraid.
There is, however, a config option "Downloads open in associated program". Perhaps that would work for you. Downloads will open in whatever the system viewer is rather than downloading. Then if users want a download then they can save from that viewer (typically).
From “Post #6,702”, 13th May 2020, 7:25 pm
Okay, thanks Chris for the clarification. I was hoping to save time when simply wanting to view a download to be able to directly view without having to download. Even if "downloads open in associated program" is enabled you still have to download the file first (it just goes to a temp location) and then the OS loads it up using the associated app. I was trying to save the download time by having the view process occur on the server (i.e. in the browser).
I'll have to check with my users to see if they want me to enable "Downloads open in associated program". That may still be a useful feature.
Posted

Site director

I think with "downloads open in associated program" most browsers would show in their own built-in PDF viewer nowadays, but I'm not 100% sure and it may depend on configuration.
Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
1 guest and 0 members have just viewed this.