Home › Forums › General Issues › Using Fields Type "File" › Reply To: Using Fields Type "File"
Check the headers that are being sent to the browser. When a PDF is downloaded instead of displayed it is an indication the the headers or not correct, for example Content-Type: application/octet-stream.
will cause a PDF to download instead of display. https://stackoverflow.com/questions/6293893/how-do-i-force-files-to-open-in-the-browser-instead-of-downloading-pdf
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.