Hi there,
I've been unable to get this module to work. I've attempted it with all sorts of different selectors, yet nothing appears to change in IE6. Even the logo seems unaffected with an "img" selector. I even tried the not-recommended "div", however had no difference. I've spent a good amount of time trying to solve the problem myself without any avail. The site I'm attempting it on is here: http://www.drinkingforacause.org
I'd appreciate any help you could provide!
Comments
Comment #1
mrjeeves commentedI have returned to support the module but will have to look deeper at your case. i've moved it to support request until we isolate the issue and determine if it is indeed a bug. more news soon.
Comment #2
mrjeeves commentedComment #3
mrjeeves commentedComment #4
smitty commentedI am experiencing the same here. I tired this module with different themes and on an windows and on a debian server. No png is getting transparent.
I even tried to directly insert the IE PNG Fix (http://www.twinhelix.com/css/iepngfix/). But the same result.
I also unzipped the iepngfix.zip in a seperate folder on the server. And there it worked!
But in Drupal it's impossible go get it running.
Any idea what could cause this problem?
Comment #5
mrjeeves commentedIt is very interesting to me that "it worked" when you put in a separate folder, could you expand on that more? Are you getting any errors in the DOM when it's NOT working? Sometimes very very specific drupal installs need the path to be pointed to a new location (the module cannot determine the correct location of the file.) I've considered moving this whole project to a Library style setup, but haven't made up my mind as of yet. This is a certainly a good argument for that case.
Let me know.
Comment #6
smitty commentedWell, I unzipped the content of iepngfix.zip into a folder in the server-root and accessed the iepngfix.html: http://192.168.001.233/iepngfix/iepngfix.html. Then I could see the transparency of the pngs included in this page (e.g. opacity.png). Then I copied my logo.png into this folder and renamed it to opacity.png. And I could see my logo was transparent.
What do you mean with "errors in the DOM"? How could I see that?
I think it's a path problem too. But while trying the iepngfix thing, I copied the blank.gif, iepngfix.htc and the iepngfix.php into every folder on the server: server-root, drupal-install-folder, sites, sites/mysite, sites/mysite/themes, sites/mysite/themes/mytheme, sites/mysite/themes/mytheme/css. But it dind not work at all.
Comment #7
mrjeeves commentedThat's very interesting, based on the fact that you moved the files to many locations, Can you double check the classes you are using to ensure that they are pointing directly to the image elements? or if you are using it to make css backgrounds transparent, they need to point directly to the elements with backgrounds?
Thanks for testing this.
Also, what version are you using, this issue is for 1.7 and I'd like to update the tags if this is still evident in the new 1.8 version as well as the 2.0 version which introduces the new library and option to disable backgroundimagecache.
Comment #8
smitty commentedWhile testing with the "original" IE PNG Fix (http://www.twinhelix.com/css/iepngfix/) I tried to put this into my css:
I tried this with different variations: "/iepngfix.php", "sites/iepngfix.php", iepngfix.php, ... Nothing worked.
Using PNG Behave! 7.x-1.9 and 6.x-1.8 I put "#logo img" into the field "CSS Classes/Selectors to Include".
No success!
Now I shifted to 7.x-2.x-dev (deactivated and deinstalled the 1.9-version) and tried first "Twin Helix". Then I got an error-message: "Notice: Undefined variable: pngbehaveexclude in pngbehave_init() (Zeile 27 von MyServer\sites\all\modules\pngbehave\pngbehave.module). And it did not work either.
I changed to "DD_BelatedPNG", got the same error and: It worked!!!
BUT: Now on many pages the logo doesn't appear at all. I have to reload the page to see it (but then it is transparent!). No matter if "IE6 Background Image Cache" is activated or deactivated.
A deeper look with the IE6 IE Developer Toolbar shows, that the IMG-Tag of the logo on the first load of the page now has the style:
This does not change even after reloading the page. But then the logo shows up.
Comment #9
mrjeeves commentedSry for your troubles but this really helps me nail both these little issues down, looks like it's time to go 2.0 for all versions. I'll put this on my schedule for an update. I'm not 100% sure what the first issue is, but I have some ideas and the second must be a typo or something.
Thank you again, I'll update this thread as soon as I have something new out.
Comment #10
smitty commentedPlease let me know if there is something new I can help testing.
Comment #11
smitty commentedWell, at the moment everything in D7 (7.x-2.x-dev) would be fine for me, if the logo would show up immediately and without having to reload the page.
Do you have any idea what I could try to get this fixed?
Comment #12
smitty commentedSeeing that there was a new dev-Version I gave this another try. And now all works very well. Even the logo shows up immediately after loading a page and no reload is necessary any more.
Getting a closer look into the dev-version I saw, that there were no changes compared to the old dev-version (only changes in comments, as far as I saw). So I don't know what made it work now. Perhaps some Windows-Updates? Or some changes on the server my provider made without telling me any details?