pdf-viewer addon
Posted
#6003
(In Topic #1244)
Is that not the way this addon works? And if not, how does it work?
Thanks in advance for your help!
Posted
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).
Posted
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 #6702”, 10th Feb 2021
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
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.
1 guest and 0 members have recently viewed this.