Click here to Skip to main content
13,045,984 members (47,592 online)
Rate this:
Please Sign up or sign in to vote.
See more:
I tried to display images present in my solution by providing correct image source path and set all Images to "Content" .
still i am not able to see images while running Build on Emulator as well as Device.
What should I do?
What am I doing wrong?
How I get Images Displayed in my App?
Text in HTML is perfectly displayed but not images..
Damn Frustrated from last few days to resolve this issue
Help me out
Thanks in Advance
Posted 24-Jul-12 5:26am
Mehdi Gholam 24-Jul-12 11:35am
It's very hard to help you with the information provided.
Sergey Alexandrovich Kryukov 24-Jul-12 11:42am
Who knows why if you don't know? Probably, you screw up something... :-)
Member 9300064 24-Jul-12 11:42am
ok!!What kind of Info should I provide you?
Member 9300064 24-Jul-12 11:44am
I know the problem but don't know it's solution...

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

public partial class MainPage : PhoneApplicationPage
          // Constructor
           public MainPage()
                 webBrowser1.Loaded += webBrowser1_Loaded;
          void webBrowser1_Loaded(object sender, RoutedEventArgs e)
               var html =
                  "<html><body>hi there" +
                  "<"img src ='HTMLBasedWP7App;components\DummyImage.jpg'"\"/>" +

This is the code i have used and DummyImage.jpg is not displaying.
only MainPage shows this message "hi there" and a broken image
Wes Aday 24-Jul-12 12:04pm
This is not a solution. Use the "Improve question" link to improve your question with additional information.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 24 Jul 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100