Your best bet would be to do some research with Javascript, most likely attribute onclick ...
It would be something like <img src="" onclick="do(sound)"> The exact code would actually look different.. But you get the general idea.
Hope this helps,
Tony Devlin