Hi,
I'm having a problem loading images from the web inside my Coverflow.
I am using a Coverflow example that was posted in another thread named "CoverflowItemTemplate", because I need a description of my image. When I place the next code in my silverlight xaml file, the image is displayed correctly:
<Image Source="http://www.sterrennieuws.be/foto/1212315926.jpg" Width="280" Height="280" />
The ItemSource of my Coverflow I place in code like this:
var pictures = new List<PictureDetails>();
pictures.Add(new PictureDetails { Name = "CrossDomain", Image = new BitmapImage(new Uri("http://www.sterrennieuws.be/foto/1212315926.jpg", UriKind.Absolute)) });
for (int i = 1; i <= 21; i++)
{
pictures.Add(new PictureDetails { Name = "Image" + i, Image = new BitmapImage(new Uri(string.Format("Images/nature{0}.png", i), UriKind.Relative)) });
}
coverFlow.ItemsSource = pictures;
The relative images are shown correctly, but the absolute one isn't loaded at all..
Is there anything I forgot to do?
Thanks in advance