Fix the data submitted for an input element of type image. Addresses issue #43.