How do I use an image as a submit button?
Why do you want that? Images as buttons _inevitably_ cause _other_ problems too. Sometimes there's a reason to pay that price, but mostly not.
Very simply:
<form method="post" action="/cgi-bin/foo.cgi"> <input type="image" name="go" alt="Submit" height="22" width="50"> </form>