"Stijn Goris" <me*****@hotmail.com> wrote in message
news:bH*********************@phobos.telenet-ops.be...
I want to make a coloured picture black and white when a user
moves its mouse pointer over it. I just don't want to store a
coloured an black and white (grayscaled) version on the server.
The combination of JavaScript and web browser DOMs have no standard
mechanisms for manipulating images. If you are willing to only have the
effect on some IE browsers, and write the code so that it does not error
on all other browsers (including the ones that fake the "filters"
properties of DOM elements) you could look into the Microsoft
proprietary "filters" which probably can transform an image to
greyscale. But the cross browser approach would be to do a normal image
swap using a greyscale version of the image, and that would need to be
stored on your server.
Richard.