Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: VisualStudio2012
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..
Frown | :(
Frown | :(
Damn Frustrated from last few days to resolve this issue
Help me out
Thanks in Advance
Posted 24-Jul-12 6:26am
Mehdi Gholam at 24-Jul-12 11:35am
It's very hard to help you with the information provided.
Sergey Alexandrovich Kryukov at 24-Jul-12 11:42am
Who knows why if you don't know? Probably, you screw up something... :-)
Member 9300064 at 24-Jul-12 11:42am
ok!!What kind of Info should I provide you?
Member 9300064 at 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 at 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
0 OriginalGriff 406
1 Marcin Kozub 225
2 Sergey Alexandrovich Kryukov 205
3 Raul Iloc 170
4 Maciej Los 164
0 OriginalGriff 8,289
1 Sergey Alexandrovich Kryukov 7,407
2 DamithSL 5,624
3 Maciej Los 4,989
4 Manas Bhardwaj 4,986

Advertise | Privacy | Mobile
Web02 | 2.8.1411023.1 | Last Updated 24 Jul 2012
Copyright © CodeProject, 1999-2014
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