[FIX] report localcontext setHtmlImage Method error #24 #36

I think this one will do the job? I don't like the missing and unnecessary blanks in this function, but I guess you like keep every pull request easy to compare?