无论是使用 Alexa 设备还是 Alexa 控制台( https://developer.amazon.com/alexa/console/ask/displays#/templates ) ,我都只能显示某些图像:
例如,这有效:
{
"type": "APL",
"version": "1.8",
"license": "",
"import": [
{
"name": "alexa-layouts",
"version": "1.4.0"
}
],
"mainTemplate": {
"parameters": [
"payload"
],
"items": [
{
"type": "AlexaImage",
"imageSource": "https://d2o906d8ln7ui1.cloudfront.net/images/MollyforBT7.png"
}
]
}
}
但这不起作用:
{
"type": "APL",
"version": "1.8",
"license": "",
"import": [
{
"name": "alexa-layouts",
"version": "1.4.0"
}
],
"mainTemplate": {
"parameters": [
"payload"
],
"items": [
{
"type": "AlexaImage",
"imageSource": "https://www.solopianoradio.com/apps/alexa/wspr_logo_512.png"
}
]
}
}
我尝试更改类型(“AlexaDetail”、“Image”、“AlexaImage”)、高度、宽度、比例、图像类型(png 与 jpg)和其他选项,但此图像和许多其他图像根本不会显示。