title: WPF/MVVM - Initialize image from XAML and bind to property in ViewModel
body: <p>I have an application written in WPF MVVM.
  I want to initialize an embedded image from XAML (so that I can see it in the designer) but also bind it to the ViewModel so I can manipulate from code.
  I can successfully initialize it like this:</p>
  
  <pre><code>&lt;Image x:Name="Image1" Source="pack://application:,,,/images/image1.png" Height="200" Width="55"  Opacity="0.35"&gt;
  </code></pre>
  
  <p>How do I bind it to the ViewModel?</p>