Why IE 6 doesn't display PNGs properly

Posted:
in General Discussion edited January 2014
Even though ALL OTHER browsers .. yes including IE 5 for the Mac display PNGs properly without having to add any html to a web page. IE for Windows REQUIRES you to add a "AlphaImageLoader" to display them right in it. What a load of horse shit.



PNG Files Do Not Show Transparency in Internet Explorer



The information in this article applies to:



? Microsoft Internet Explorer version 6 for Windows 98

? Microsoft Internet Explorer version 6 for Windows 98 Second Edition

? Microsoft Internet Explorer version 6 for Windows Millennium Edition

? Microsoft Internet Explorer version 6 for Windows NT 4.0

? Microsoft Internet Explorer version 6 for Windows 2000

? Microsoft Internet Explorer (Programming) version 5.5 Service Pack 1, used with:

- the operating system: Microsoft Windows 98

- the operating system: Microsoft Windows Millennium Edition

- the operating system: Microsoft Windows NT, versions (all versions and editions), 4.0

- the operating system: Microsoft Windows 2000

? Microsoft Internet Explorer version 6 for Windows XP

? Microsoft Internet Explorer version 6 for Windows XP 64-Bit Edition



SUMMARY



If you browse to a Web page that contains an image that has a transparent background in Portable Network Graphics (PNG) format, the image background may appear to be gray rather than transparent.





MORE INFORMATION



Web developers who work with PNG files can use the AlphaImageLoader filter, as demonstrated in the following example:





<html>

<head></head>

<body bgColor="blue">

<!-- This DIV is the target container for the image. -->

<DIV ID="oDiv" STYLE="position:absolute; left:140px; height:400; width:400;

filter rogid XImageTransform.Microsoft.AlphaImageLoader(

src='image.png', sizingMethod='scale');" >

</DIV>

</body>

</html>



Why Pngs wont work on IE



[ 11-27-2001: Message edited by: Sinewave ]</p>

Comments

  • Reply 1 of 12
    sinewavesinewave Posts: 1,074member
    BTW the url tags don't work right in this forum software as you can see above.
  • Reply 2 of 12
    UGH! I am a Web designer and that stinks. There should be NO nead to add extra script just to display an image properly. Most pages all ready have enough going on it the 'page header' part as is.

    <img src="graemlins/hmmm.gif" border="0" alt="[Hmmm]" />

    Does some of that Gif licence cash go to M$ or somthing! Do they want to kill PNG off and implement some wacky format of there own?
  • Reply 3 of 12
    sinewavesinewave Posts: 1,074member
    [quote]Originally posted by Mediaman:

    <strong>UGH! I am a Web designer and that stinks. There should be NO nead to add extra script just to display an image properly. Most pages all ready have enough going on it the 'page header' part as is.

    <img src="graemlins/hmmm.gif" border="0" alt="[Hmmm]" />

    Does some of that Gif licence cash go to M$ or somthing! Do they want to kill PNG off and implement some wacky format of there own?</strong><hr></blockquote>

    Who knows.. this just looks like a wacky work around hack. I wonder why IE for the Mac can display them right.. why even XP's own GUI can display pngs right.. but MS can't get them to work in their browser properly. Maybe the have something you can buy for $30 that lets you view them correctly in IE
  • Reply 4 of 12
    sinewavesinewave Posts: 1,074member
    And I just tried this via VPC.. and some pngs STILL don't display right. You'd think such a modern web browser such as IE6 claims to be would get with the program.
  • Reply 5 of 12
    Why Pngs wont work on IE



    If the link or title of the url is too long then it doesn't work right in case you weren't sure why that happened :-/ testing again anyways.
  • Reply 6 of 12
    sinewavesinewave Posts: 1,074member
    Heh still didn't work. Odd
  • Reply 7 of 12
    [quote]Originally posted by Sinewave:

    <strong>Heh still didn't work. Odd</strong><hr></blockquote>



    Here's my all time favorite application from Bill Gates and company ... Microsoft Works.



    HA HA HA HA HA HA!



  • Reply 8 of 12
    sinewavesinewave Posts: 1,074member
    [quote]Originally posted by i am monkey:

    <strong>



    Here's my all time favorite application from Bill Gates and company ... Microsoft Works.



    HA HA HA HA HA HA!



    </strong><hr></blockquote>



    <img src="confused.gif" border="0">
  • Reply 9 of 12
    keshkesh Posts: 621member
    IE Mac seems to handle PNG and other graphic formats well because, IIRC, most of its image handling is done via Quicktime. And Quicktime handles PNG just fine. IE on Windows doesn't rely on QT, and it seems their native handling of PNG is pretty shabby.



    Score another one for the MS Mac division.
  • Reply 10 of 12
    sinewavesinewave Posts: 1,074member
    [quote]Originally posted by Kesh:

    <strong>IE Mac seems to handle PNG and other graphic formats well because, IIRC, most of its image handling is done via Quicktime. And Quicktime handles PNG just fine. IE on Windows doesn't rely on QT, and it seems their native handling of PNG is pretty shabby.



    Score another one for the MS Mac division. </strong><hr></blockquote>



    Considering XP uses pngs to natively handle it's GUI you'd think IE6 would too.
  • Reply 11 of 12
    groveratgroverat Posts: 10,872member
    That's whack.
  • Reply 12 of 12
    sinewavesinewave Posts: 1,074member
    Yes it is whack.. which makes me think MS has a "png" like graphic format in the making so THEY can monopolize on that too. PNGs will replace "gif" and "jpg". The only thing holding it back now is Microsoft.
Sign In or Register to comment.