I've just finished the complimentary version which works with background images. It can be seen at http://mrdos.swifthost.net/autopng/background.htm. The advantages are the same, and only the last disadvantage still applies, but another one can be added: as with most other AlphaImageLoader methods, workarounds must be implemented to retain any positioning of the background image, or to ensure that anchors within the element still work.
--- Mr. DOS
Hi all,
For a while now, I've been toying with the idea of combining CSS expressions with the AlphaImageLoader filter to automate the application of said filter to
<img>tags. I spent a bit of time on Sunday and threw together a test for this, and it seems to work. You can see it at http://mrdos.swifthost.net/autopng/.I think at least two pros to this approach are obvious:
On the other hand, it has a few cons too:
Right now, I'm looking for any comments or suggestions. I think it works fairly well, overall - well enough that I'm starting to wonder if I've overlooked something obvious. As I said above, I'm trying to figure out another method that will work for background images.
--- Mr. DOS