In my Windows Phone 7 Application I am loading a HTML file on a web browser.The HTML file contains Photo in which the Image have to be loaded from Isolated storage (already stored).Can any one plz guide me(Is there any sample or tutorial present online).
Share
You could always convert the image to base64 and include the base64 as text in the document.
An example I quickly created can be viewed here: http://jsfiddle.net/NLxdB/
After you have your image as base64 you can add it in html like following:
<img src="data:image/png;base64, BASE64IMAGE" />where you replace BASE64IMAGE with you base64 string.(EDIT:
data:image/pngneeds to be replaced with jpg/gif or what ever the image type is.)To get a base64 of your image you could use the following code: