News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

Preview only works when the directory is not secured

Started by Tazzios, 27.11.2020 13:46:22

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Tazzios

It would benice if the preview file also can be accessed by an url like 'index.php?option=com_jdownloads&task=download.send&id=XX'
for example:
index.php?option=com_jdownloads&task=preview.send&id=XX

That way:
- The preview also would work with a secured directory
- I can extend my pdfviewer with an preview option.  ;D

Arno

Hi,
where shall be here the bug? I do not understand what you really mean.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

Tazzios

Yes I see i do not mention that to clearly.  ;D

Preview uses a direct file link because of that in the following situations preview wont work:

1. you set the setting security 'Protect your Download Directory' to yes
2. If your download folder is outsite the public html folder

when the file would be called with the jdownloads php script it could keep working.

ColinM

Tazzios,Which browser were you using?  I ask because Crome requires a https: and it might be being generated as http:
This is often the case with older installations.

Colin
Colin M
  •  

Tazzios

Firefox.
I run into this problem al long time ago(2 years maybe?) but back then i deed not needed the preview function.