E
existential.philosophy
I'm trying to display dynamic, transparent PNG images in IE6.
I know how to generate dynamic images (I can already generate dynamic,
transparent PNG images for all browsers except IE6) and I know how to
use AlphaImageLoader (with it, I can display static, transparent PNG
images in IE6). When I try to put everything together, however, I just
can't get dynamic, transparent PNG images to work in IE6.
The problem, I believe, is with AlphaImageLoader. I suspect it is
using the filename extension to determine how to render the image.
Thus, a static PNG with an extension of ".png" gets recognized and
rendered properly, but a dynamic PNG with an extension of ".aspx" does
not. Am I right about that? Is there a good workaround?
The only workaround I can think of is making my images pseudo-static.
When I generate them, I could save them to the disk with a ".png"
extension, leave the files long enough for the page to read them, then
delete them. I really don't like that workaround, however, and I'm
hoping someone has found a more elegant solution. Any suggestions?
-TC
I know how to generate dynamic images (I can already generate dynamic,
transparent PNG images for all browsers except IE6) and I know how to
use AlphaImageLoader (with it, I can display static, transparent PNG
images in IE6). When I try to put everything together, however, I just
can't get dynamic, transparent PNG images to work in IE6.
The problem, I believe, is with AlphaImageLoader. I suspect it is
using the filename extension to determine how to render the image.
Thus, a static PNG with an extension of ".png" gets recognized and
rendered properly, but a dynamic PNG with an extension of ".aspx" does
not. Am I right about that? Is there a good workaround?
The only workaround I can think of is making my images pseudo-static.
When I generate them, I could save them to the disk with a ".png"
extension, leave the files long enough for the page to read them, then
delete them. I really don't like that workaround, however, and I'm
hoping someone has found a more elegant solution. Any suggestions?
-TC