I'm using Google Docs Viewer to embed all kind of documents. However I am having trouble to find out which formats are really supported.
On the offical Docs Viewer website (https://docs.google.com/viewer) Google links to a nice list of all supported formats. The following formats should be supported:
However, if I try to embed Image files or Video files for example I will get the famous 'Sorry, this type of document is not supported for viewing' error.
So my question is: Why doesn't it show these files and which formats are really supported?
Example: JPEG (not working)
https://docs.google.com/viewer?embedded=true&url=http%3A%2F%2Fwww.fnordware.com%2Fj2k%2Frelax-orig.png
See for more examples: http://jsfiddle.net/ABcz6/
Yes, I can confirm that JPGs as well PNGs that I tried did not work. Originaly I was trying to view such files with Drupals Embedded Google Docs Viewer, but then tested with just the URL https://docs.google.com/gview?embedded=true&url=http://www.example.com/test.jpg
.
BUT, the semi-good news is that you can use TIFF images instead.
Maybe TIFFs are just more office-stylee :D
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With