PDF Display/Download

Author Message

Jim Rea

Wednesday 01 February 2006 11:46:38 pm

I am curious about something.

Whenever I open a link to a pdf file at any other destination on the web, using either Safari or Firefox, the pdf opens in a new window (or a tab). However, whenever I open a link to a pdf file stored in eZpublish, it generates a download to my local computer.

Why does eZpublish behave this way? And can it be changed to display the file instead?

Thanks - Jim

Kåre Køhler Høvik

Thursday 02 February 2006 12:49:16 am

How PDFs are handled by the browser is decided by the HTTP headers. Is it uploaded PDFs or generated PDFs you'd like to handle differently ?

Kåre Høvik

Jim Rea

Thursday 02 February 2006 2:33:31 am

Yes, I would like pdfs to be generated in a browser window rather than being downloaded. I don't have any knowledge of eZpublish's template system. Can you give me some direction on what I would need to change to accomplish this?

Thanks - Jim

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.