title: How to reference base URLs for images in XAML in Silverlight?
body: <p>I have images scattered throughout my silverlight app, and because of the structure we decided on, all images are brought in from an HTTP URL.</p>
  
  <p>Currently, in XAML an image would be declared as follows:</p>
  
  <pre><code>&lt;Image Source="http://www.example.com/directory/example.png" /&gt;
  </code></pre>
  
  <p>I would like the base URL for all images referenced stored in a global string constant, accessable from all XAML files and code behind files.</p>
  
  <p>i.e. const string BASE_URI = "<a href="http://www.example.com/directory" rel="nofollow noreferrer">http://www.example.com/directory</a>";</p>
  
  <p>How can I do this and reference it in XAML, while appending the string to the actual image name? I thought of using a converter, but that requires data binding - and here I am just using the string directly.</p>