I got it:
<htmlb:button id = "myButton14"
text =
"<img src='/sap/public/bsp/sap/public/bc/icons/s_s_okay.gif' border='0'>OK "
onClick = "myButtonClick"
encode = "FALSE" />
The size of the button changes. To prevent this just set the image height to 10.