I am using the WebView control in a Windows 8 Metro application. I have an html string which I read off a network stream, that contains embedded images in the markup.
The control works great if the pictures in the html have their source pointing to some website, however the results are not great for images embedded in the markup.
These images do not render, instead some block is rendered which represents a placeholder for the image.
I am using the NavigateToString method, to load the html.
-
Is embedded images a limitation of the control or is there a special
way of loading the html to get the embedded images to appear? -
If this is a limitation of the control, any ideas or suggestions on
how i can get this to work?
After some research and investigation, i can confirm that:
css etc. if not embedded within your application itself.
Workaround:
imgtag.html files in any writable folder that you have access to.
string from the above step to the
NavigateToStringmethod ofthe
WebViewcontrol.expected.
Perhaps not the best solution. However, simple to implement and is workable.