The easiest way? Set the images as labels with an attribute forpointing to the radio buttons. Then set the switches todisplay:none;
<input type="radio" name="radio[1]" /><label for="radio[1]"><img src="/yes.png"></label>
<input type="radio" name="radio[2]" /><label for="radio[2]"><img src="/no.png"></label>
p.s. HTML, javascript. - CSS (: hover ..) .
UPDATE:
, , . for , , for. for id .