I’m currently making a website for a client where they require PDF files to be viewed/downloaded from their site. I’m not sure how you actually make the files downloadable from the server though, i was hoping someone would be able to point me in the right direction? I’m making the site in WordPress so i’m looking for a PHP snippet of some kind…i think?
I’ve found quite a few resources online about turning html > PDF which looks great but it’s not quite what im looking for.
So for any idiot out there like me that jumps without looking you’d realise that when you upload to WordPress using their media uploader and insert it into the post that way it provides that exact functionality of that link i added (in chrome anyway).
I’m not really sure what you’re trying to do, but keep in mind that the way a PDF is viewed, depends on the local settings of the user.
For example, I could have it set so that a link to any .PDF file will automatically be downloaded to my hard drive, but other users might have is configured in a way that is shows the PDF in the browser. Then, it also depends on WHICH browser is being used, that might make things look different too.
Not sure if that’s what you were going after though. :)
Viewing 7 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".