I installed the latest version of ZenPhoto on my server to obtain the class-AnyFile plugin. After enabling it, I attempted uploading a PDF (the reason I wanted the plugin). After it'd successfully uploaded I attempted to download the file. Acrobat tells me the PDF is broken/damaged. Err...???
I cannot say what is the problem for you. http://testalbum.sbillard.org/sounds/maestro_GPS.pdf.php does download successfully.
Well, tried the link sbillard posted and Safari did download a pdf file initially without any further action automatically. That probably should not happen... Clicking the full image link to download does indeed not work. Rough quick guess, since Zenphoto is not able to process a pdf file the image protection which normally works via the scripts does not work.
Well, I tried again and I could this time download with Safari as well. It however downloaded the file with as a html page with .html suffix. This normally indicates that the header mime type sent does not match the file type, pdf in this case.
Strange is with this that both with Firefox and Safari the pdf is downloaded automatically and correctly without any action by me. This might be because I disabled the PDF plugin for display of PDFs as I prefer to view them in a proper programm that does not crash my browser..
http://gallery.agbillings.com/mrm/mrmstats.pdf.php For some reason the PDF does not load automatically for me in a similar manner to the link sbillard posted. Clicking on the document icon attempts to open a .PDF in Adobe Reader/Acrobat but it's broken. Do you see similar results? Is there some setting I need to change to fix this? Or is this an error within my ZenPhoto install? U: montanarm P: rescue
You can only display PDFs on a website if the visitors browser has either the PDF plugin enabled/installed. Then a browser offered a pdf should choose to open it using that.
I am not familiar with this plugin actually but I assume it provides an option to display it via some web services (google?), too.