只是想把这个不准确的地方放在那里修复。
从 Now API 拉取时,某些图像的高度和宽度与图像的实际大小不对应。
例子:
"images": [{
"height": 90,
"alt": "",
"width": 90,
"name": "Cowherd makes picks for Week 10 in the NFL",
"caption": "Cowherd makes picks for Week 10 in the NFL",
"credit": "",
"url": "http://a.espncdn.com/i/espnradio/stations/espn/shows/300/theherd.jpg"
},
现在和height
现在的图像实际上是 300 像素(由 jpg url 提示)。90
width
90
我遇到的多个图像似乎正在发生,你能解决吗?
谢谢!