<esri:FeatureLayer ID="FeatureLayerResDockPhotos2011"
Url="SOME URL"
Where="1=1"
OutFields="PHOTODATE,FILEPATH">
<esri:FeatureLayer.MapTip>
<Border Style="{StaticResource menuBorder}">
<Border.Effect>
<DropShadowEffect Color="Black" Direction="-45"
BlurRadius="20" Opacity=".75" />
</Border.Effect>
<StackPanel Margin="7">
<TextBlock Text="{Binding [PHOTODATE]}" FontWeight="Bold"
Foreground="White" />
<Image Source="{Binding [FILEPATH]}" Height="150"
Width="150" />
</StackPanel>
</Border>
</esri:FeatureLayer.MapTip>
<esri:FeatureLayer.Clusterer>
<esri:FlareClusterer
FlareBackground="#99FF0000"
FlareForeground="White"
MaximumFlareCount="9" />
</esri:FeatureLayer.Clusterer>
</esri:FeatureLayer><HyperlinkButton TargetName="_blank" NavigateUri="{Binding [FILEPATH]}">
<HyperlinkButton.Content>
<Image Source="{Binding [FILEPATH]}" Width="100" Height="100" />
</HyperlinkButton.Content>
</HyperlinkButton>Hi cc4ever, my filepaths look something like
\\CORPNAS\ntcorp\StructuresPhotos\001 - UNLICENCED [PID 017-587-166].bmp
These are contained in a text field in the gdb table. It's baffling as clicking on a spot where the photo should be brings up the photo in a new window, indicating there aren't any problems with the paths or anything.
Thanks
http://[Server[/url] IP]/ntcorp/StructuresPhotos/001 - UNLICENCED [PID 017-587-166].bmp
Just Put your Server IP instead of server name and it will work.http://[Server[/url] IP]/ntcorp/StructuresPhotos/001 - UNLICENCED [PID 017-587-166].bmp