Property ImagePath
seems to be located in window's DataContext i.e. MainWindowViewModel
. So, you need to traverse to window's DataContext for binding to work.
Use RelativeSource
to get the window's DataContext:
<Image Source="{Binding Path=DataContext.ImagePath,
RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Window}}"/>