How to show images from web in metro app RRS feed

  • Question

  • I was wondering how I can show images - downloaded from the web every time the app opens up - in a metro app.

    The amount of images would be like 5 images or so


    Thursday, November 22, 2012 1:49 AM


All replies

  • Just set Image.Source property to image URL

    <Image Source="http://site.com/image.png" />

    • Proposed as answer by Jesse Jiang Monday, November 26, 2012 10:05 AM
    Thursday, November 22, 2012 2:01 AM
  • And when I want to use a feed, so the app always loads the newest images.

    Or for example, there are 20 images, and the app chooses at random 5 images.

    Thursday, November 22, 2012 2:09 AM
  • In the view define the image with source binding <Image Source="{Binding ImageUrl}" />

    In ViewModel provide string ImageUrl property that can be used to set random URLs.

    Thursday, November 22, 2012 2:32 AM
    • Marked as answer by Jesse Jiang Wednesday, November 28, 2012 11:07 AM
    Thursday, November 22, 2012 4:15 AM