You haven't specified exactly how the image is "in" your WPF application.
Have you added it to your Visual Studio project with a Build Action of "Resource"?
If so, you can use the following relative Uri syntax (adjust the path if you put it in a subfolder):
Have you added it to your Visual Studio project with a Build Action of "Resource"?
If so, you can use the following relative Uri syntax (adjust the path if you put it in a subfolder):
image1.Source = new BitmapImage(new Uri("/Forest.jpg", UriKind.Relative));
For an image on disk (not an embedded resource in your application), use the absolute path on disk:image1.Source = new BitmapImage(new Uri(@"c:\images\Forest.jpg", UriKind.Absolute));