Windows phone 7“png”图像未从URL加载 [英] Windows phone 7 "png" image not loading from URL
问题描述
您好,
我从Web服务获取XML格式的结果。我已阅读并按住它List<>然后绑定到ListBox控件(Windows Phone 7.1)
我在URL中获取图像路径如下
http://latam.zed。 com / MCP / Estilos / 352 / 7545_BannerWap_20121025_124343.png
http://latam.zed.com/MCP/Estilos/352/7406_BannerWap_2012103_92241.png
第一张图片正确加载,但第二张图片没有加载(这个img是动画类型)
只有下面的图片没有加载的问题。
http:/ /latam.zed.com/MCP/Estilos/352/7406_BannerWap_2012103_92241.png
我的代码如下:我尝试了很多方法,但没有成功。
Hello,
I get the result from Web service as XML format. I have read it and hold it List<> then bind to ListBox control (Windows Phone 7.1)
I get image path in URL as below
http://latam.zed.com/MCP/Estilos/352/7545_BannerWap_20121025_124343.png
http://latam.zed.com/MCP/Estilos/352/7406_BannerWap_2012103_92241.png
First image load properly, But second number image not loading(this img is animated type)
Only problem with below image not load.
"http://latam.zed.com/MCP/Estilos/352/7406_BannerWap_2012103_92241.png
My Code as below: I try many ways but Not success.
var TopVentasNew = from c in TopVentas.Descendants("content_item")
select new clsContent
{
id = c.Element("id").Value,
image_url = c.Element("image_url").Value
};
ListBox1.ItemsSource = TopVentasNew.ToList<clsContent>();
Plz帮助我,怎么能我在WP7中加载动画类型的png图像。
先谢谢。
Br,
Siddheshwar
推荐答案
AFAIK,WP7不支持动画图像(甚至是png)。 />
问候。
AFAIK, WP7 not support animated images (even png).
Regards.
这篇关于Windows phone 7“png”图像未从URL加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!