I have an Image element in my WP7.5 Silverlight app for which I tried changing its source both in XAML and programmatically. Whatever I try, I cannot load big images(in size or in bytes, I don’t know) completely.
Here is my code:
<controls:PanoramaItem>
<ScrollViewer VerticalAlignment="Top" VerticalScrollBarVisibility="Auto" Margin="2, 4, 0, 0" HorizontalScrollBarVisibility="Disabled">
<StackPanel x:name="stackPanel">
<TextBlock x:Name="debugger" Foreground="Black"/>
<Image Source="http://d24w6bsrhbeh9d.cloudfront.net/photo/1574819_460s.jpg" VerticalAlignment="Top" ImageOpened="Image_ImageOpened"/>
</StackPanel>
</ScrollViewer>
</controls:PanoramaItem>
private void Image_ImageOpened(object sender, RoutedEventArgs e)
{
debugger.Text = "DONE";
}
See Limited Image Size on MSDN.