This topic is locked

Open File/Image in browser instead of downloading

2/3/2016 11:00:55 AM
PHPRunner General questions
G
gustavo author

On both jpg images or PDF files, when the user clicks on the link it downloads yhe file instead of opening in the browser.

How to get the File/Image open in browser instead of downloading?

I am sure I should be missing something simple.
Find here the link on the browser

https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=23625&image=1&table=forumtopics&table=Quote-Log&field=Images&pageType=list&key1=983
Thank in advance

Sergey Kornilov admin 2/3/2016

As far as I undertand you talking about PDF files. This behaviour depends on your browser. Some browses will download the file, others, like Chrome, will display it.

abidcastaneda 3/16/2016

I have an application where the user uploads a .pdf file, and when you click on it to view it, it downloads instead of show, and we are using Google Chrome.

jadachDevClub member 3/16/2016

Users can change the default behavior in acrobat or acrobat reader.

abidcastaneda 3/23/2016



Users can change the default behavior in acrobat or acrobat reader.



Thanks for your reply jadach, could you please specify how to do this? Thank you.