see pdf #1186
Pascal-Tlse
started this conversation in
Ideas
see pdf
#1186
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If you use Tiny File Manager in a private environment and you want to view pdf files, without using Google or Microsoft, here is the solution:
Edit the tinyfilemanager.php file:
A little lower :
search for the following line: } else if($online_viewer == 'microsoft') {
copy and paste this line and the bottom "echo" line just below
in this first line, replace google with local
in the second, replace: echo '<iframe src="https://view.officeapps.live.com/op/embed.aspx?src=' . fm_enc($file_url) . '" frameborder="no" ......
by: echo '<iframe src="' . fm_enc($file_url) . '" frameborder="no" .....
Good viewing!!!
Beta Was this translation helpful? Give feedback.
All reactions