Forum Moderators: open

Message Too Old, No Replies

Hack to view png images in ie6

Hack to view png images in ie6

         

kevinkhan

9:36 pm on Feb 4, 2010 (gmt 0)

10+ Year Member



Does anybody know a way of displaying .png images in Internet explorer 6 properly?

Iv been searching the internet all day and have not found an answer..

Thanks for your help

tedster

6:18 pm on Feb 5, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hello Kevin, and welcome to the forums.

If you have a PNG file that uses alpha transparency, there are three approaches I can think of for IE6.

1. Use the AlphaImageLoader filter for each PNG image (see reference1 [support.microsoft.com] and reference2 [msdn.microsoft.com])

2. Redesign the graphic in another format for IE6 and serve it using IE Conditional Comments so other browsers can still load the PNG file.

3. Don't support IE6. It's a 9-year old browser and even Google is phasing out support for IE6 [webmasterworld.com].

dreamcatcher

8:30 am on Feb 8, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can also use a jquery fix. Google for "jQuery-Plugin pngFix".

dx