locked
My tile doesn't show image from web server

    Question

  • Here is my some code. I try to use an image from image hosting.

    I use "TileWideImageAndText01" as my template.

    tileImageAttributes[0].setAttribute("src", "http://mydomain.com/1/content/2013/33194_300x90_1382337488.jpg");
    tileImageAttributes[0].setAttribute("alt", "Holl");

    It doesn't work !!

    But if i use image on my project, it's work :(

    tileImageAttributes[0].setAttribute("src", "ms-appx:///images/book.jpg");
    tileImageAttributes[0].setAttribute("alt", "red graphic");
    What should i do? I have to use my tile image for web server.
    Thank you so much.

    Wednesday, October 30, 2013 9:48 AM

Answers

All replies

  • Usually that means the image isn't valid for a tile. Often this happens because the tile is too big. See Tile and toast image sizes

    Wednesday, October 30, 2013 3:58 PM
    Owner
  • Thank you so much.

    I use 310 x 150, but it doesn't work for me.

    it's only work when i use the tile image from local. 

    Thursday, October 31, 2013 2:24 AM
  • Oh!!!

    Finally i got it!!

    My tile updates are limited !!

    i just change to 200MB

    it's work now

    thank you so much :)

    • Marked as answer by P'Tik Thursday, October 31, 2013 2:35 AM
    Thursday, October 31, 2013 2:35 AM