rajeev13 — 2013-03-26T06:30:15-04:00 — #1
I working on a php project where a pdf has to be shown in div container .
I have googled around this and on this forum also.
If anybody can help.please help me on this topic.
Rajeev Ranjan .
stevie_d — 2013-03-26T08:51:09-04:00 — #2
Whether a person's browser will show a PDF embedded within a page depends on their browser and plug-in settings. In my experience, the majority of people have it set so that PDFs launch Adobe Reader as a separate application, rather than as a plug-in within the browser, meaning that you can't achieve what you're after for those people.
kylewolfe — 2013-03-26T10:33:14-04:00 — #3
Well... While Stevie D is correct here, you COULD run some PDF libs to convert to jpegs on the fly
rajeev13 — 2013-03-28T00:09:41-04:00 — #4
i used iframe but this need pdf plug-in on the browser,so i have used google doc viewer to show pdf content.
<iframe src="http://docs.google.com/gview?url=http://norefresh.thesparxitsolutions.com/rajeev_ranjan/filename.pdf&embedded=true" style="width:600px; height:500px;" frameborder="0"></iframe>
felgall — 2013-03-28T01:55:41-04:00 — #5
If the browser supports displaying PDFs in the browser then the following is the simplest solution:
<div><img src="something.pdf" alt="unfortunately your browser doesn't display PDF's"></div>
rajeev13 — 2013-03-28T03:24:58-04:00 — #6
Again it needs pdf plug-in.
is there any third party tool to show pdf on the site like we see on other sites like scribd.
felgall — 2013-03-28T14:35:45-04:00 — #7
A PDF is never the original source - if you want to display in the web page without needing a PDF prugin then it is best to convert the original source into a different web supported format.
kylewolfe — 2013-03-28T14:39:11-04:00 — #8
rajeev13 — 2013-03-29T00:13:51-04:00 — #9
Ok. i will try that.
system — 2014-10-07T23:58:55-04:00 — #10
This topic is now closed. New replies are no longer allowed.