<p>I am trying to do this...</p>

<pre><code>&lt;Image x:Name="imgGroupImage" Source="Images\unlock.png" Margin="0,0,5,0" /&gt;
</code></pre>

<p>But I get this error...</p>

<blockquote>
  <p>Cannot convert string 'Images\unlock.png' in attribute 'Source' to object of type 'System.Windows.Media.ImageSource'. Cannot locate resource 'forms/images/unlock.png'.  Error at object 'System.Windows.HierarchicalDataTemplate' in markup file 'Fuse;component/forms/mainwindow.xaml' Line 273 Position 51.</p>
</blockquote>

<p>As you can see, my form that includes this XAML is in a folder named Forms. My Images are in a folder named Images. How do I map from Forms to Images?</p>

<p>I tried <code>Source="..Images\unlock.png"</code> which does not work in WPF.</p>

<p>Any help?</p>

Try slashes rather than backslashes, and use an absolute path by leading with a slash:
```
```
Source="/Images/unlock.png"
```
```
That generally works for me.
Failing that, take a look at
Pack URIs
.