I have made some changes to the fax_view.php file to allow viewing .JPG and .PNG files as well as give an error message if someone tries to pull up an .VBS, .BAT .EXE or .DLL file. (On my test server I created a symbolic link from my images folder to /mnt/scan_docs and noticed .EXE and .DLL files. In the real world this might not ever be needed?). Is this something that would benefit the community? Thoughts? Not sure how to proceed.
I also have some changes to that to use mime type rather than extension of the file to determine what to do with it. The current assumes TIFF and trys to convert them for viewing, etc which is not always appropriate. Most e-fax systems now deliver PDF and dropping them in the queue is useful for dispatch.
The changes I have (at this time) bypass any attempts at conversion and “selection of pages” which is why I have not shared it as yet.
Some merging of those functions would be a good thing.