Installed pngfix (6.x 1.0) in my Drupal 6 installation and then set the preference to .product_wrapper p (markup looks like this: <div class="product_wrapper"><p><img src="image.png" /></p></div>). This will cause the images to flash and then disappear in IE6 (version 6.0.2800).

Comments

mariuss’s picture

Priority: Normal » Critical
StatusFileSize
new42.03 KB
new43.04 KB

Almost the same thing here. Using the following markup:
<div class="pngfix"><img src="..." /></div>

Even worse, the test page at http://drupal.org/node/205365 does not work, neither with IE5.5 or IE6. See attachments.

The issue does not seem to be with our sites or with Drupal 6, the CSS or JavaScript must be broken IMO.

Does the test page above actually work for anyone?

mariuss’s picture

Priority: Critical » Normal

I was running IE on Linux and Mac OS X using WINE, and this is where the problem shows up.

Just tested IE6 under Windows XP and there everything works fine, except for the test image. The test image does not render properly even there.

NiklasBr’s picture

StatusFileSize
new99.6 KB

Test image broken here as well.

Attaching a screen grab from IE6 in crossover:

robloach’s picture

That test image doesn't use the PNG Fix. It's just an image they had on the PNG Fix website...

eater’s picture

StatusFileSize
new4.67 KB

Looks like pngFix does not take into account <base> tag. Replacing string 79 with

			strNewHTML += 'filter:progid:DXImageTransform.Microsoft.AlphaImageLoader' + '(src=\'' + $('base').attr('href') + jQuery(this).attr('src') + '\', sizingMethod=\'scale\');';

fixed problem for me.

beckyjohnson’s picture

I applied your fix and it didn't work for my logo, unless this is a separate issue. Please take a look: http://www.wimaxtimes.com. When you hover over the logo link, it flashes part of the image away for a moment.

Becky