pngfix module question

Joined: 12/05/2007
User offline. Last seen 2 years 1 week ago.

I installed the pngfix module (btw... noticed that Rob Loach mentions inspired by G&G) but my PNG files in IE6 are not viewing at all. I'm wondering if I'm missing something on this, like do I include the JQuery plugin from here?

I installed the module
indicated the CSS class container in settings

Anything else need to happen?

G&G Podcast Host
Matt Farina's picture
Joined: 06/01/2006
User offline. Last seen 21 weeks 4 days ago.
What kind of PNG images?

Are these repeating, background, content using img tags, or something else?

The png fix module works but I am now a fan of doing it via CSS when ever possible. It's pretty simple, actually... for the cases you can use it.

Matt Farina
Geeks and God Former Co-Host
www.mattfarina.com

Joined: 12/05/2007
User offline. Last seen 2 years 1 week ago.
PNG trans for IE6

in this case, it would be filefield plus imagecache uploads of PNG images.

What is the CSS method you use to get PNG transparency in IE6?

G&G Podcast Host
Matt Farina's picture
Joined: 06/01/2006
User offline. Last seen 21 weeks 4 days ago.
A one liner

In an IE6 specific stylesheet put this in...

.myThing {
  background: none; 
  filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/path/to/image.png', sizingMethod='crop');
}

You'll need to do this for each image and it doesn't to repeating images. You'll, also, need the full patch from the base of the site.

Filter is a specific MS thing. This invokes a feature not enabled by default which can handle transparencies.

Matt Farina
Geeks and God Former Co-Host
www.mattfarina.com