How To Have Pdf Viewer In Ruby
How can I embeded pdf viewer in ruby on rail? Now I tried
Solution 1:
If you are trying to display a PDF as an image, surrounded by HTML content... then a browser won't do that, and your problem is with the browser, not Ruby on Rails. You can link to a PDF, and display it whole, but you cannot embed it in another document.
You could simulate the effect (maybe, in some browsers) with an iFrame, but that is a HTML question, not a rails question... and you would possibly spend a lot of time making it work in all browsers.
Solution 2:
You might find this useful:
http://googlesystem.blogspot.com/2009/09/embeddable-google-document-viewer.html
Post a Comment for "How To Have Pdf Viewer In Ruby"