I think, that the main problem is because browsers [^] don't support TIF images for inline viewing
. I tried latest Chrome 26 and IE 10. It only works in Safari. To avoid this, use PNG instead or check the alternatiff.com
] project for TIF support.
Also proper content-type should be image/tiff (with two 'F's).