Grayscale this

One for the Lazyweb methinks.

Is there an EASY (non-coder) way to make all images that appear in a DIV, grayscale? PHP is the preferred langauge and you can presume access to the GD Library is available on the server.

Note: I’m aware that IE users can utilise CSS for this but that’s not what I’m looking for so please don’t suggest it.