Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Displaying PNG image
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01415012
Message ID:
01415029
Views:
47
>Hi Einar,
>
>>Is there anything in IIS that would prevent a PNG image from beeing displayed?
>
>If the mime type for PNG files is not listed, these files wouldn't be served by IIS. You can configure mime types from the IIS console.

Interesting, I hadn't even thought of that. I did some searching and I did find this:

"...Microsoft's Internet Information Server (a.k.a. IIS) shipped by default without an explicit MIME type for PNG images until version 6, which effectively meant that it treated PNGs as application/octet-stream rather than image/png. Not surprisingly, this affected only non-Microsoft web browsers connecting to IIS servers; they rightly refused to display such mislabelled PNGs. Fortunately, Microsoft did finally correct the problem with the release of IIS 6.0 in 2003, and a fix is available for older versions (at least for version 4.0). "

So I guess if you're running an older unpatched IIS server this could still be the case.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Reply
Map
View

Click here to load this message in the networking platform