Double check your AddImage method call, are your missing a parm ? If one adds a zero as last parm, does it work ?