Google Docs viewer in IE

Skoder picture Skoder · May 8, 2010 · Viewed 8.7k times · Source

I've searched high and low for a solution, but can't find one. I'm using Google Docs Viewer to view PDF files. It's a great tool, but I can't seem to get it working in Internet Explorer (7 or 8). All my images come up as a 'missing' icon. If I view the file externally, it seems to load fine and it will start working (I'm assuming because the images are being cached). The document is being displayed in an iframe and works in all other browsers. Has anyone come across a solution to get it to work in IE? If not, is there an alternative that can display PPT and PDF files?

Answer

codeinthehole picture codeinthehole · Dec 5, 2010

I have the same problem, but didn't think it was acceptable to have to ask users to add the URL to their trusted sites in IE.

Luckily I came across the following post:

The embedded version of Google Docs Viewer (gview) will not load its images correctly if third party cookies are disabled. This problem is an issue for most IE users as by default it will be disabled. Below I provide a work around to this problem for at least until google adds a p3p. The original discussion of the issue can be found at google docs help forum.

I've tried this out and it works in IE8, IE7 and IE6.