Instead of calling myWebView.loadUrl, you can use simple CSS and call myWebView.loadData instead.
Just make sure the URL encodes any extraneous characters. Example:
myWebView.loadData("<html><head><style type='text/css'>body{margin:auto auto;text-align:center;} img{width:100%25;} </style></head><body><img src='www.mysite.com/myimg.jpeg'/></body></html>" ,"text/html", "UTF-8");
source share