The way I did this in the past uses Regex to replace image tags with empty quotation marks. Try the following attempt, insert it into your DocumentLoaded event, or for example:
origHTML = webBrowser.DocumentText
Dim newHTML as String
Dim regex as String = "<img.*/>"
newHTML = Regex.Replace(origHTML, regex, "", RegexOptions.Multiline)
webBrowser.DocumentText = newHTML
This should solve your problem.
Regards
source
share