title: local bitmapimage(windows phone)
body: <p>I am trying to convey the path for <code>&lt;Image x:Name="FlagImage" Stretch="None" /&gt;</code>, but when I run the application image is not displayed.</p>
  
  <pre><code>FlagImage.Source = new BitmapImage(new Uri("/images/sky.jpg"));
  </code></pre>
  
  <p>If I change the path to the URL the image is displayed</p>
  
  <pre><code>FlagImage.Source = new BitmapImage(new Uri("http://www.charlespetzold.com/Media/HelloWP7.jpg"));
  </code></pre>
  
  <p>This Code work too:</p>
  
  <pre><code>&lt;Image Source="/images/sky.jpg"/&gt;
  </code></pre>