Page 1 of 1

PNG transparancy for IE Plugin

Posted: Wed Nov 02, 2005 12:05 pm
by Andyman77
Hiya,
As we know, IE 6 which will be around for a while yet doesn't understand png transparancy. I not really a coder but I'm sure that the code can be added via a plugin or a HTML nugget.
Here's a website I have found that provides all the code you need to enable png transparancy in IE.

PNG transparancy isn't a problem with Firefox or Opera or infact any more uptodate browser.

http://homepage.ntlworld.com/bobosola/index.htm

Posted: Wed Nov 02, 2005 12:16 pm
by dma147
Hi Andyman77,

very great information and thanks for it!

But I think there's no need for a plugin, because you can put this pngfix.js into an html-head-nugget. This should work then.
The only thing which is needed in *every* img-tag, are the width and height values. I think, that they are often missed but I've not checked that...

I'll think about a little "serendipity_event_pngfix" plugin. This should also be no problem.

Posted: Wed Nov 02, 2005 12:20 pm
by Andyman77
yep, tis the width and hight requirement, so it could mean plowing through all your PNG files and poping that info in.

Look forward to seeing the plugin 8)

Posted: Wed Nov 02, 2005 12:32 pm
by dma147
@Andyman77: I'm just looking into the browsercompatibility-plugin. There's already such a png-transparency-fix implemented.
So you should try this first.

Posted: Wed Nov 02, 2005 12:38 pm
by Andyman77
I am using that plugin, but it doesn't appear to make the png transpancy work for IE.

Check my site, the firefox image is a PNG with transparacy on the alpha layer. In Firefox and opera you see the image as I want you to see, in IE, you see a dull box around the edge.

Posted: Wed Nov 02, 2005 1:12 pm
by dma147
Sorry, I have no windoze to test that...

Posted: Wed Nov 02, 2005 1:39 pm
by Andyman77
humm,
Looks as if it's working now with a windoze system ... I will have to check on how I did the transparency made the change.

one of those days ...