GLACIER if I try to open pdf, it first downloads and then it opens, is there any way that it will open pdf on click instead of downloading like tingfilemanager?
Can you show me a link anywhere or in our demo.files.gallery, where the PDF downloads when clicked? If you got to a PDF in our demo, and click to open the PDF (click the icon), it will open the PDF in browser:
https://demo.files.gallery/?files#document.pdf
It won't download, unless you click "download".
If you want PDF files to open immediately on click, instead of showing info about the PDF, then use the click_window option. In either case, the PDF certainly does not download on click, unless there is some problem in your browser or on your server.