Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Using a Control Adapter to Properly Display PNG Images in IE

, 25 Oct 2006
Internet Explorer 5.5 and 6 cannot display transparent PNG images using the standard IMG tag. Here's a solution that uses a control adapter to output different HTML when the image to display is a PNG.
iepngcontroladapter.zip
App_Browsers
All.browser
App_Code
Images
Sample.png
Sample.unknown
Spacer.gif
iepngimagecontroladapter.zip

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

Charles Windhausen
Web Developer
United States United States
Charles works at PC Tools in Boulder, CO as a "do everything" developer. He's worked with Windows development for over 10 years and web development for over 5.

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.150327.1 | Last Updated 25 Oct 2006
Article Copyright 2006 by Charles Windhausen
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid