In my windows Phone application I have some images with content type. I need show them in my RichTextBox control, so I need to fill relative path.
For example I have an image in \res.img.jpg
If I try - <img src='/res/next.png' class='newsimage' width='300' />
- there is no image in result. What is my mistake?
Asked
Active
Viewed 718 times
0

revolutionkpi
- 2,632
- 10
- 45
- 84
-
1You need to store the images at isolated storage as described here: http://stackoverflow.com/questions/10363174/use-local-images-in-webbrowser-control-wp7 – josemiguel.torres May 30 '12 at 08:18
-
Just to make sure, in your question you said image name is \res.img.jpg and in code it is, /res/next.png. Is it okay?? – nkchandra May 30 '12 at 08:29
-
@josemiguel.torres , your advise is not work in my case. I save image to isolated storege but it doesn't show an image – revolutionkpi May 30 '12 at 08:43
-
I have Update my question. I am using a RichTextBox control – revolutionkpi May 30 '12 at 08:58
-
3Just FYI, the way I use to embed an image inside a RichtextBox is as follow:
tag instead of
. – josemiguel.torres May 30 '12 at 09:24